|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.webwork.spring.lifecycle.ApplicationContextSessionListener
public class ApplicationContextSessionListener
Used to set up a Spring ApplicationContext
in the HttpSession. It can be configured similarly to the
Field Summary | |
---|---|
static String |
APP_CONTEXT_SESSION_KEY
Key to map the session-scoped application context into the session attributes. |
static String[] |
DEFAULT_SESSION_CONFIG
The default session context configuration string:"classpath:session.xml" |
static Class |
DEFAULT_SESSION_CONTEXT_CLASS
Default context class for ContextLoader. |
static String |
SESSION_CONFIG_LOCATION_PARAM
Name of servlet context parameter that can specify the config location for the root context, falling back to the implementation's default otherwise. |
static String |
SESSION_CONTEXT_CLASS_PARAM
Config param for the root WebApplicationContext implementation class to use: "sessionContextClass" |
Constructor Summary | |
---|---|
ApplicationContextSessionListener()
|
Method Summary | |
---|---|
void |
sessionCreated(HttpSessionEvent httpSessionEvent)
|
void |
sessionDestroyed(HttpSessionEvent httpSessionEvent)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String SESSION_CONTEXT_CLASS_PARAM
public static final Class DEFAULT_SESSION_CONTEXT_CLASS
XmlWebApplicationContext
public static final String SESSION_CONFIG_LOCATION_PARAM
XmlWebApplicationContext.DEFAULT_CONFIG_LOCATION
,
Constant Field Valuespublic static final String APP_CONTEXT_SESSION_KEY
public static final String[] DEFAULT_SESSION_CONFIG
Constructor Detail |
---|
public ApplicationContextSessionListener()
Method Detail |
---|
public void sessionCreated(HttpSessionEvent httpSessionEvent)
sessionCreated
in interface HttpSessionListener
public void sessionDestroyed(HttpSessionEvent httpSessionEvent)
sessionDestroyed
in interface HttpSessionListener
|
WebWork Project Page | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |