public class TomcatThreadContextListener extends java.lang.Object implements ThreadContextListener
| Modifier and Type | Field and Description | 
|---|---|
| protected java.lang.reflect.Method | methodgetThreadName method in class ContextBindings | 
| Constructor and Description | 
|---|
| TomcatThreadContextListener()Creates a new instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | contextEntered(ThreadContext oldContext,
              ThreadContext newContext)A new context has been entered. | 
| void | contextExited(ThreadContext exitedContext,
             ThreadContext reenteredContext)A context has exited. | 
protected java.lang.reflect.Method method
public TomcatThreadContextListener()
public void contextEntered(ThreadContext oldContext, ThreadContext newContext)
contextEntered in interface ThreadContextListeneroldContext - the old context that was associated with the threadnewContext - the new context that is now associated with the threadpublic void contextExited(ThreadContext exitedContext, ThreadContext reenteredContext)
contextExited in interface ThreadContextListenerexitedContext - the context that was exitedreenteredContext - the context that is not associated with the thread