org.infoglue.cms.util
Class DeliverContextListener

java.lang.Object
  |
  +--org.infoglue.cms.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.


Constructor Summary
DeliverContextListener()
           
 
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).
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeliverContextListener

public DeliverContextListener()
Method Detail

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