public class InstallJCRServletContextListener extends Object implements javax.servlet.ServletContextListener
ThreadLocalSessionProviderInitializedFilter must
be injected in the main webapp (portal.war) and rest webapp (rest.war). Since
the JCR is an addon, in order to avoid updating the web.xml file of
portal.war and rest.war, the filter must be injected dynamically through a
ServletContextListener.| Constructor and Description |
|---|
InstallJCRServletContextListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent contextEvent) |
void |
contextInitialized(javax.servlet.ServletContextEvent contextEvent) |
public void contextInitialized(javax.servlet.ServletContextEvent contextEvent)
contextInitialized in interface javax.servlet.ServletContextListenerpublic void contextDestroyed(javax.servlet.ServletContextEvent contextEvent)
contextDestroyed in interface javax.servlet.ServletContextListenerCopyright © 2003–2021 eXo Platform SAS. All rights reserved.