org.infoglue.deliver.util
Class DeliverContextListener
java.lang.Object
org.infoglue.deliver.util.DeliverContextListener
- All Implemented Interfaces:
- java.util.EventListener, javax.servlet.ServletContextListener
public final class DeliverContextListener
- extends java.lang.Object
- implements javax.servlet.ServletContextListener
This class functions as the entry-point for all initialization of the Cms-tool.
The class responds to the startup or reload of a whole context.
|
Method Summary |
void |
contextDestroyed(javax.servlet.ServletContextEvent event)
This method is invoked when the Servlet Context
(the Web Application) is undeployed or
WebLogic Server shuts down. |
void |
contextInitialized(javax.servlet.ServletContextEvent event)
This method is called when the servlet context is
initialized(when the Web Application is deployed). |
static javax.servlet.ServletContext |
getServletContext()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeliverContextListener
public DeliverContextListener()
getServletContext
public static javax.servlet.ServletContext getServletContext()
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent event)
- This method is called when the servlet context is
initialized(when the Web Application is deployed).
You can initialize servlet context related data here.
- Specified by:
contextInitialized in interface javax.servlet.ServletContextListener
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent event)
- This method is invoked when the Servlet Context
(the Web Application) is undeployed or
WebLogic Server shuts down.
- Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener
Copyright © 2005 InfoGlue.org All Rights Reserved.