|
GigaSpaces XAP 9.5 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openspaces.pu.container.jee.jetty.JettyWebApplicationContextListener
public class JettyWebApplicationContextListener
An jetty specific ServletContextListener
that is automatically loaded by the
BootstrapWebApplicationContextListener
.
Support specific GigaSpace based session storge when using the jetty.sessions.spaceUrl
parameter
within the (web) processing unit properties. It is handled here since we want to setup the session support under
the web application class loader and not under the class loader that starts up jetty.
Field Summary | |
---|---|
static String |
JETTY_SESSIONS_LEASE
The lease of the SessionData that is written to the Space. |
static String |
JETTY_SESSIONS_SAVE_PERIOD
How often an actual update of a non dirty session will be performed to the Space. |
static String |
JETTY_SESSIONS_SCAVENGE_PERIOD
How often the scavenger thread will run in order to check for expired sessions. |
static String |
JETTY_SESSIONS_TIMEOUT
Controls, using a deployment property, the timeout value of sessions. |
static String |
JETTY_SESSIONS_URL
A deploy property that controls if Jetty will store the session on the Space. |
Constructor Summary | |
---|---|
JettyWebApplicationContextListener()
|
Method Summary | |
---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
|
void |
contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String JETTY_SESSIONS_URL
public static final String JETTY_SESSIONS_SCAVENGE_PERIOD
60 * 5
seconds (5 minutes).
public static final String JETTY_SESSIONS_SAVE_PERIOD
60
seconds.
public static final String JETTY_SESSIONS_LEASE
SessionData
that is written to the Space. Set
in seconds and defaults to FOREVER.
public static final String JETTY_SESSIONS_TIMEOUT
Constructor Detail |
---|
public JettyWebApplicationContextListener()
Method Detail |
---|
public void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
contextInitialized
in interface javax.servlet.ServletContextListener
public void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
contextDestroyed
in interface javax.servlet.ServletContextListener
|
GigaSpaces XAP 9.5 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |