|
||||||||||
PREV CLASS (src) 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 | |
java.lang.Object |
getContext(java.lang.String key,
java.lang.Object data)
Used by the PolicyContext class to activate the handler and obtain from it the context object identified by the given key. |
java.lang.String[] |
getKeys()
Get the keys identifying the context objects supported by this handlers getContext(String, Object) method. |
boolean |
supports(java.lang.String key)
Query the handler to see if its getContext(String, Object) method supports the given key. |
Method Detail |
public java.lang.Object getContext(java.lang.String key, java.lang.Object data) throws PolicyContextException (src)
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 (src)
public java.lang.String[] getKeys() throws PolicyContextException (src)
PolicyContextException (src)
public boolean supports(java.lang.String key) throws PolicyContextException (src)
key
- - the context object key to check.
PolicyContextException (src)
|
||||||||||
PREV CLASS (src) NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |