public class Listener extends Object implements ServletContextListener
Listener creates and destroys a ApplResources at the
appropriate times in the servlet's life-cycle.
NOTE: This class must not depend upon any non-standard packages (such as
javax.transform) because it is loaded when Tomcat starts, not
when the servlet is loaded. (This might be a bug in Tomcat 4.0.3, because
it worked in 4.0.1. But anyway.)
| Modifier and Type | Class and Description |
|---|---|
(package private) static interface |
Listener.ApplicationContext |
| Modifier and Type | Field and Description |
|---|---|
(package private) Listener.ApplicationContext |
applicationContext |
| Constructor and Description |
|---|
Listener() |
| Modifier and Type | Method and Description |
|---|---|
void |
contextDestroyed(ServletContextEvent event) |
void |
contextInitialized(ServletContextEvent event) |
Listener.ApplicationContext applicationContext
public void contextInitialized(ServletContextEvent event)
contextInitialized in interface ServletContextListenerpublic void contextDestroyed(ServletContextEvent event)
contextDestroyed in interface ServletContextListener