org.granite.config
Class GraniteConfigListener

java.lang.Object
  extended by org.granite.config.GraniteConfigListener
All Implemented Interfaces:
EventListener, ServletContextListener

public class GraniteConfigListener
extends Object
implements ServletContextListener

Author:
William DRAI

Field Summary
static String GRANITE_CONFIG_ATTRIBUTE
           
static String GRANITE_MBEANS_ATTRIBUTE
           
 
Constructor Summary
GraniteConfigListener()
           
 
Method Summary
 void contextDestroyed(ServletContextEvent sce)
           
 void contextInitialized(ServletContextEvent sce)
           
static void registerShutdownListener(ServletContext context, ShutdownListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GRANITE_CONFIG_ATTRIBUTE

public static final String GRANITE_CONFIG_ATTRIBUTE
See Also:
Constant Field Values

GRANITE_MBEANS_ATTRIBUTE

public static final String GRANITE_MBEANS_ATTRIBUTE
See Also:
Constant Field Values
Constructor Detail

GraniteConfigListener

public GraniteConfigListener()
Method Detail

contextInitialized

public void contextInitialized(ServletContextEvent sce)
Specified by:
contextInitialized in interface ServletContextListener

contextDestroyed

public void contextDestroyed(ServletContextEvent sce)
Specified by:
contextDestroyed in interface ServletContextListener

registerShutdownListener

public static void registerShutdownListener(ServletContext context,
                                            ShutdownListener listener)