org.apache.openejb.cdi
Class RequestScopedThreadContextListener
java.lang.Object
org.apache.openejb.cdi.RequestScopedThreadContextListener
- All Implemented Interfaces:
- ThreadContextListener
public class RequestScopedThreadContextListener
- extends Object
- implements ThreadContextListener
- Version:
- $Rev$ $Date$
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestScopedThreadContextListener
public RequestScopedThreadContextListener()
contextEntered
public void contextEntered(ThreadContext oldContext,
ThreadContext newContext)
- Description copied from interface:
ThreadContextListener
- A new context has been entered. The new context is already associated with the thread.
- Specified by:
contextEntered in interface ThreadContextListener
- Parameters:
oldContext - the old context that was associated with the threadnewContext - the new context that is now associated with the thread
contextExited
public void contextExited(ThreadContext exitedContext,
ThreadContext reenteredContext)
- Description copied from interface:
ThreadContextListener
- A context has exited. The reentered context is already associated with the thread.
- Specified by:
contextExited in interface ThreadContextListener
- Parameters:
exitedContext - the context that was exitedreenteredContext - the context that is not associated with the thread
Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.