Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.base.util
Class LifeCycleListener

java.lang.Object
  extended by com.jivesoftware.base.util.LifeCycleListener
All Implemented Interfaces:
java.util.EventListener, javax.servlet.ServletContextListener

public class LifeCycleListener
extends java.lang.Object
implements javax.servlet.ServletContextListener

A simple context listener which shuts down services in when the context is unloaded. This listener does nothing when the context is initialized.

See Also:
CacheFactory.shutdownClusteringService()

Constructor Summary
LifeCycleListener()
           
 
Method Summary
 void contextDestroyed(javax.servlet.ServletContextEvent event)
           
 void contextInitialized(javax.servlet.ServletContextEvent event)
          Does nothing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LifeCycleListener

public LifeCycleListener()
Method Detail

contextInitialized

public void contextInitialized(javax.servlet.ServletContextEvent event)
Does nothing.

Specified by:
contextInitialized in interface javax.servlet.ServletContextListener

contextDestroyed

public void contextDestroyed(javax.servlet.ServletContextEvent event)
Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.