public class Listener extends Object implements javax.servlet.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.)
Constructor and Description |
---|
Listener() |
Modifier and Type | Method and Description |
---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent event) |
void |
contextInitialized(javax.servlet.ServletContextEvent event) |
public void contextInitialized(javax.servlet.ServletContextEvent event)
contextInitialized
in interface javax.servlet.ServletContextListener
public void contextDestroyed(javax.servlet.ServletContextEvent event)
contextDestroyed
in interface javax.servlet.ServletContextListener
Copyright © 2017 Hitachi Vantara. All rights reserved.