com.opensymphony.webwork.lifecycle
Class LifecycleListener
java.lang.Object
com.opensymphony.webwork.lifecycle.ApplicationLifecycleListener
com.opensymphony.webwork.lifecycle.LifecycleListener
- All Implemented Interfaces:
- EventListener, HttpSessionListener, ServletContextListener
Deprecated. XWork IoC has been deprecated in favor of Spring.
Please refer to the Spring-WebWork integration documentation for more info.
public class LifecycleListener
- extends ApplicationLifecycleListener
- implements HttpSessionListener
The default mechanism for initializing the session and application scopes for XWork's IoC
container. If for any reason you don't wish to use session-scoped objects, you can include
just the ApplicationLifecycleListener
rather than this class, but generally this
class will be fine for almost all needs.
- Since:
- 2.2
- Author:
- Patrick Lightbody
- See Also:
ApplicationLifecycleListener
,
SessionLifecycleListener
,
FilterDispatcher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LifecycleListener
public LifecycleListener()
- Deprecated.
sessionCreated
public void sessionCreated(HttpSessionEvent httpSessionEvent)
- Deprecated.
- Specified by:
sessionCreated
in interface HttpSessionListener
sessionDestroyed
public void sessionDestroyed(HttpSessionEvent httpSessionEvent)
- Deprecated.
- Specified by:
sessionDestroyed
in interface HttpSessionListener