Methods Summary |
---|
public java.lang.Object | getContext(java.lang.String key, java.lang.Object data)This public method is used by the PolicyContext class to
activate the handler and obtain from it the context object
identified by the (case-sensitive) key. In addition to the key,
the handler will be activated with the handler data value associated
within the PolicyContext class
with the thread on which the call to this method is made.
Note that the policy context identifier associated with a thread
is available to the handler by calling PolicyContext.getContextID().
|
public java.lang.String[] | getKeys()This public method returns the keys identifying the context objects
supported by the handler. The value of each key supported by a handler
must be a non-null String value.
|
public boolean | supports(java.lang.String key)This public method returns a boolean result indicating whether or
not the handler supports the context object identified by the
(case-sensitive) key value.
|