org.infoglue.cms.util
Class CmsContextListener

java.lang.Object
  extended by org.infoglue.cms.util.CmsContextListener
All Implemented Interfaces:
java.util.EventListener, javax.servlet.ServletContextListener

public final class CmsContextListener
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
CmsContextListener()
           
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsContextListener

public CmsContextListener()
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


Copyright © 2005 InfoGlue.org All Rights Reserved.