org.apache.openejb.cdi
Class OWBContextThreadListener

java.lang.Object
  extended by org.apache.openejb.cdi.OWBContextThreadListener
All Implemented Interfaces:
ThreadContextListener

public class OWBContextThreadListener
extends Object
implements ThreadContextListener

Version:
$Rev:$ $Date:$

Constructor Summary
OWBContextThreadListener()
           
 
Method Summary
 void contextEntered(ThreadContext oldContext, ThreadContext newContext)
          A new context has been entered.
 void contextExited(ThreadContext exitedContext, ThreadContext reenteredContext)
          A context has exited.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OWBContextThreadListener

public OWBContextThreadListener()
Method Detail

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 thread
newContext - 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 exited
reenteredContext - the context that is not associated with the thread


Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.