org.beanlet.web
Class RequestContextListener
java.lang.Object
org.beanlet.web.RequestContextListener
- All Implemented Interfaces:
- EventListener, javax.servlet.ServletRequestListener
public class RequestContextListener
- extends Object
- implements javax.servlet.ServletRequestListener
Add the following configuration to the web application's web.xml file
to support the Request and Session beanlet scopes.
<web-app>
...
<listener>
<listener-class>org.beanlet.web.RequestContextListener<listener-class>
</listener>
...
</web-app>
- See Also:
Request,
Session
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestContextListener
public RequestContextListener()
requestInitialized
public void requestInitialized(javax.servlet.ServletRequestEvent event)
- Specified by:
requestInitialized in interface javax.servlet.ServletRequestListener
requestDestroyed
public void requestDestroyed(javax.servlet.ServletRequestEvent event)
- Specified by:
requestDestroyed in interface javax.servlet.ServletRequestListener
Copyright © 2006-2008. All Rights Reserved.