org.xwiki.container.servlet
Class SetThreadNameServletRequestListener
java.lang.Object
org.xwiki.container.servlet.SetThreadNameServletRequestListener
- All Implemented Interfaces:
- EventListener, javax.servlet.ServletRequestListener
public class SetThreadNameServletRequestListener
- extends Object
- implements javax.servlet.ServletRequestListener
Make threads names created by the application server more meaningful.
TODO When it will be possible it would be better to do this a component like a RequestInitializer component to work
for any kind of container. Right now component can't really access the initial URL.
- Since:
- 2.0M3
- Version:
- $Id$
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SetThreadNameServletRequestListener
public SetThreadNameServletRequestListener()
requestInitialized
public void requestInitialized(javax.servlet.ServletRequestEvent sre)
- Specified by:
requestInitialized in interface javax.servlet.ServletRequestListener
requestDestroyed
public void requestDestroyed(javax.servlet.ServletRequestEvent sre)
- Specified by:
requestDestroyed in interface javax.servlet.ServletRequestListener
Copyright © 2004-2012 XWiki. All Rights Reserved.