public class JettyWebApplicationContextListener extends Object implements javax.servlet.ServletContextListener
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.
Modifier and Type | Field and Description |
---|---|
static String |
JETTY_SESSIONS_LEASE
The lease of the SessionData that is written to the
Space.
|
static String |
JETTY_SESSIONS_URL
A deploy property that controls if Jetty will store the session on the Space.
|
Constructor and Description |
---|
JettyWebApplicationContextListener() |
Modifier and Type | Method and Description |
---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent) |
void |
contextInitialized(javax.servlet.ServletContextEvent servletContextEvent) |
public static final String JETTY_SESSIONS_URL
public static final String JETTY_SESSIONS_LEASE
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
Copyright © GigaSpaces.