org.opencms.main
Class OpenCmsListener
java.lang.Object
org.opencms.main.OpenCmsListener
- All Implemented Interfaces:
- EventListener, HttpSessionListener, ServletContextListener
- public class OpenCmsListener
- extends Object
- implements ServletContextListener, HttpSessionListener
Provides the OpenCms system with information from the servlet context.
Used for the following purposes:
- Starting up OpenCms when the servlet container is started.
- Shutting down OpenCms when the servlet container is shut down.
- Informing the
CmsSessionManager if a new session is created.
- Informing the
CmsSessionManager session is destroyed or invalidated.
- Since:
- 6.0.0
- Version:
- $Revision: 1.13 $
- Author:
- Alexander Kandzior
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OpenCmsListener
public OpenCmsListener()
contextDestroyed
public void contextDestroyed(ServletContextEvent event)
- Specified by:
contextDestroyed in interface ServletContextListener
- See Also:
ServletContextListener.contextDestroyed(javax.servlet.ServletContextEvent)
contextInitialized
public void contextInitialized(ServletContextEvent event)
- Specified by:
contextInitialized in interface ServletContextListener
- See Also:
ServletContextListener.contextInitialized(javax.servlet.ServletContextEvent)
sessionCreated
public void sessionCreated(HttpSessionEvent event)
- Specified by:
sessionCreated in interface HttpSessionListener
- See Also:
HttpSessionListener.sessionCreated(javax.servlet.http.HttpSessionEvent)
sessionDestroyed
public void sessionDestroyed(HttpSessionEvent event)
- Specified by:
sessionDestroyed in interface HttpSessionListener
- See Also:
HttpSessionListener.sessionDestroyed(javax.servlet.http.HttpSessionEvent)