org.d2rq.server
Class WebappInitListener
java.lang.Object
org.d2rq.server.WebappInitListener
- All Implemented Interfaces:
- EventListener, javax.servlet.ServletContextListener
public class WebappInitListener
- extends Object
- implements javax.servlet.ServletContextListener
Initialize D2R server on startup of an appserver such as Tomcat. This listener should
be included in the web.xml. This is compatible with Servlet 2.3 spec compliant appservers.
- Author:
- Inigo Surguy, Richard Cyganiak (richard@cyganiak.de)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebappInitListener
public WebappInitListener()
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent event)
- Specified by:
contextInitialized
in interface javax.servlet.ServletContextListener
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent event)
- Specified by:
contextDestroyed
in interface javax.servlet.ServletContextListener