|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
JACC interface which defines the methods that must be implemented by handlers that are to be registered and activated by PolicyContexts
http://java.sun.com/j2ee/1.4/docs/api/
Method Summary | |
Object |
getContext(String key,
Object data)
Used by the PolicyContext class to activate the handler and obtain from it the context object identified by the given key. |
String[] |
getKeys()
Get the keys identifying the context objects supported by this handlers getContext(String, Object) method. |
boolean |
supports(String key)
Query the handler to see if its getContext(String, Object) method supports the given key. |
Method Detail |
public Object getContext(String key, Object data) throws PolicyContextException
key
- - a non-null key indicating which context to return.data
- - the possiblye null handler data Object associated with the
thread on which the call to this method has been made.
PolicyContextException
public String[] getKeys() throws PolicyContextException
PolicyContextException
public boolean supports(String key) throws PolicyContextException
key
- - the context object key to check.
PolicyContextException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |