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 void contextInitialized(ServletContextEvent arg0)
contextInitialized in interface ServletContextListenerServletContextListener.contextInitialized(javax.servlet.ServletContextEvent)public void contextDestroyed(ServletContextEvent arg0)
contextDestroyed in interface ServletContextListenerServletContextListener.contextDestroyed(javax.servlet.ServletContextEvent)Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.