org.apache.openejb.core
Interface ThreadContextListener
- All Known Implementing Classes:
- AbstractSecurityService, SecurityServiceImpl
public interface ThreadContextListener
contextEntered
void contextEntered(ThreadContext oldContext,
ThreadContext newContext)
- A new context has been entered. The new context is already associated with the thread.
- Parameters:
oldContext
- the old context that was associated with the threadnewContext
- the new context that is now associated with the thread
contextExited
void contextExited(ThreadContext exitedContext,
ThreadContext reenteredContext)
- A context has exited. The reentered context is already associated with the thread.
- Parameters:
exitedContext
- the context that was exitedreenteredContext
- the context that is not associated with the thread
Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.