|
Oracle Communications Services Gatekeeper Java API Reference 6.0 E55513-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.bea.wlcp.wlng.api.plugin.context.RequestContextManager
This class is used to create, get, and remove the RequestContext object per thread.
Constructor Summary | |
RequestContextManager() |
Method Summary | |
static void |
addListener(RequestContextListener listener) Adds a RequestContext listener to the manager. |
static void |
clearCurrent() Removes the RequestContext object of the current thread. |
static RequestContext |
createCurrent() Creates a RequestContext for the current thread. |
static RequestContext |
getCurrent() Gets the current RequestContext object from the current thread. |
static boolean |
hasContext() Returns true if a current context exists. |
static void |
notifyListener(RequestContextListenerEvent event) Notify the RequestContext listeners of an event. |
static void |
notifyListener(RequestContextListenerEvent event, RequestContextListenerData data) Notify the RequestContext listeners of an event. |
static void |
removeListener(RequestContextListener listener) Removes a RequestContext listener from the manager. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RequestContextManager()
Method Detail |
public static void addListener(RequestContextListener listener)
listener
- The listener to add.public static void clearCurrent()
public static RequestContext createCurrent()
public static RequestContext getCurrent()
public static boolean hasContext()
public static void notifyListener(RequestContextListenerEvent event)
event
- The event of event.public static void notifyListener(RequestContextListenerEvent event, RequestContextListenerData data)
event
- The event of event.data
- The request context listener data.public static void removeListener(RequestContextListener listener)
listener
- The listener to remove.
|
Oracle Communications Services Gatekeeper Java API Reference 6.0 E55513-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |