|
J2EE1.4 SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.appserv.web.taglibs.cache.CacheContextListener
CacheContextListener implements the ServletContextListener interface in order to be notified when the context is created and destroyed. It is used to create the cache and add it as a context attribute.
| Constructor Summary | |
CacheContextListener()
Public constructor taking no arguments according to servlet spec |
|
| Method Summary | |
void |
contextDestroyed(ServletContextEvent sce)
This is called when the context is shutdown. |
void |
contextInitialized(ServletContextEvent sce)
This is called when the context is created. |
| 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(ServletContextEvent sce)
contextInitialized in interface ServletContextListenerpublic void contextDestroyed(ServletContextEvent sce)
contextDestroyed in interface ServletContextListener
|
J2EE1.4 SDK | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2003 Sun Microsystems, Inc. All rights reserved.