|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.opensymphony.oscache.web.CacheContextListener
| Constructor Summary | |
CacheContextListener()
|
|
| Method Summary | |
void |
contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
This notification occurs when the servlet context is about to be shut down. |
void |
contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
This notification occurs when the webapp is ready to process requests. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CacheContextListener()
| Method Detail |
public void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
We use this hook to cleanly start up the ServletCacheAdministrator
and create the application scope cache (which will consequentially
initialize any listeners configured for it that implement LifecycleAware.)
As of Servlet 2.4, this is guaranteed to be called before any Servlet.init() methods.
contextInitialized in interface javax.servlet.ServletContextListenerpublic void contextDestroyed(javax.servlet.ServletContextEvent servletContextEvent)
contextDestroyed in interface javax.servlet.ServletContextListener
|
See www.opensymphony.com for more information. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||