org.granite.config
Class GraniteConfigListener

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

public class GraniteConfigListener
extends Object
implements ServletContextListener, HttpSessionListener

Author:
William DRAI

Field Summary
static String GRANITE_CONFIG_ATTRIBUTE
           
static String GRANITE_CONFIG_PROVIDER_ATTRIBUTE
           
static String GRANITE_MBEANS_ATTRIBUTE
           
static String GRANITE_SESSION_MAP
           
static String GRANITE_SESSION_TRACKING
           
 
Constructor Summary
GraniteConfigListener()
           
 
Method Summary
 void contextDestroyed(ServletContextEvent sce)
           
 void contextInitialized(ServletContextEvent sce)
           
static void registerShutdownListener(ServletContext context, ShutdownListener listener)
           
 void sessionCreated(HttpSessionEvent se)
           
 void sessionDestroyed(HttpSessionEvent se)
           
 
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_CONFIG_PROVIDER_ATTRIBUTE

public static final String GRANITE_CONFIG_PROVIDER_ATTRIBUTE
See Also:
Constant Field Values

GRANITE_MBEANS_ATTRIBUTE

public static final String GRANITE_MBEANS_ATTRIBUTE
See Also:
Constant Field Values

GRANITE_SESSION_TRACKING

public static final String GRANITE_SESSION_TRACKING
See Also:
Constant Field Values

GRANITE_SESSION_MAP

public static final String GRANITE_SESSION_MAP
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)

sessionCreated

public void sessionCreated(HttpSessionEvent se)
Specified by:
sessionCreated in interface HttpSessionListener

sessionDestroyed

public void sessionDestroyed(HttpSessionEvent se)
Specified by:
sessionDestroyed in interface HttpSessionListener