|
Oracle Communications Services Gatekeeper Java API Reference 7.0.0.1 E96578-01 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.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(com.bea.wlcp.wlng.plugin.context.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(com.bea.wlcp.wlng.plugin.context.RequestContextListenerEvent event)
Notify the RequestContext listeners of an event. |
static void |
notifyListener(com.bea.wlcp.wlng.plugin.context.RequestContextListenerEvent event,
com.bea.wlcp.wlng.plugin.context.RequestContextListenerData data)
Notify the RequestContext listeners of an event. |
static void |
removeListener(com.bea.wlcp.wlng.plugin.context.RequestContextListener listener)
Removes a RequestContext listener from the manager. |
static void |
setCurrent(RequestContext context)
Set the request context. |
| 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(com.bea.wlcp.wlng.plugin.context.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(com.bea.wlcp.wlng.plugin.context.RequestContextListenerEvent event)
event - The event of event.
public static void notifyListener(com.bea.wlcp.wlng.plugin.context.RequestContextListenerEvent event,
com.bea.wlcp.wlng.plugin.context.RequestContextListenerData data)
event - The event of event.data - The request context listener data.public static void removeListener(com.bea.wlcp.wlng.plugin.context.RequestContextListener listener)
listener - The listener to remove.public static void setCurrent(RequestContext context)
|
Oracle Communications Services Gatekeeper Java API Reference 7.0.0.1 E96578-01 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||