|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.opensymphony.webwork.lifecycle.SessionLifecycleListener
A filter to handle the lifecycle of an HTTP session-based XWork component manager.
| Constructor Summary | |
SessionLifecycleListener()
|
|
| Method Summary | |
protected com.opensymphony.xwork.interceptor.component.DefaultComponentManager |
createComponentManager()
Returns a new DefaultComponentManager instance. |
protected ServletContext |
getServletContext(HttpSession session)
Servlet 2.3 specifies that the servlet context can be retrieved from the session. |
void |
sessionCreated(HttpSessionEvent event)
Initializes an XWork component manager for the lifetime of the user's session. |
void |
sessionDestroyed(HttpSessionEvent event)
Does nothing - when the session is destroyed the component manager reference will go away as well. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SessionLifecycleListener()
| Method Detail |
public void sessionCreated(HttpSessionEvent event)
sessionCreated in interface HttpSessionListenerevent - an HttpSessionEvent object.public void sessionDestroyed(HttpSessionEvent event)
sessionDestroyed in interface HttpSessionListenerevent - an HttpSessionEvent object.protected ServletContext getServletContext(HttpSession session)
session - the HTTP session where, in Servlet 2.3, the servlet context can be retrieved
protected com.opensymphony.xwork.interceptor.component.DefaultComponentManager createComponentManager()
|
WebWork Project Page | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||