public class JCSServletContextListener extends Object implements ServletContextListener
Add the following to the top of your web.xml file.
<listener> <listener-class> org.apache.commons.jcs3.utils.servlet.JCSServletContextListener </listener-class> </listener>
Constructor and Description |
---|
JCSServletContextListener() |
Modifier and Type | Method and Description |
---|---|
void |
contextDestroyed(ServletContextEvent arg0)
Shutdown JCS.
|
void |
contextInitialized(ServletContextEvent arg0)
This does nothing.
|
public JCSServletContextListener()
public void contextInitialized(ServletContextEvent arg0)
contextInitialized
in interface ServletContextListener
ServletContextListener.contextInitialized(javax.servlet.ServletContextEvent)
public void contextDestroyed(ServletContextEvent arg0)
contextDestroyed
in interface ServletContextListener
ServletContextListener.contextDestroyed(javax.servlet.ServletContextEvent)
Copyright © 2002–2023 The Apache Software Foundation. All rights reserved.