public interface PolicyContextHandler
http://java.sun.com/j2ee/1.4/docs/api/| Modifier and Type | Method and Description |
|---|---|
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.
|
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.PolicyContextExceptionString[] getKeys() throws PolicyContextException
PolicyContextExceptionboolean supports(String key) throws PolicyContextException
key - - the context object key to check.PolicyContextExceptionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.