org.apache.myfaces.extensions.cdi.openwebbeans.startup
Class WebBeansAwareConfigurationListener
java.lang.Object
org.apache.webbeans.servlet.WebBeansConfigurationListener
org.apache.myfaces.extensions.cdi.openwebbeans.startup.WebBeansAwareConfigurationListener
- All Implemented Interfaces:
- EventListener, javax.servlet.http.HttpSessionListener, javax.servlet.ServletContextListener, javax.servlet.ServletRequestListener, Deactivatable, StartupEventBroadcaster
@InvocationOrder(value=1)
public class WebBeansAwareConfigurationListener
- extends org.apache.webbeans.servlet.WebBeansConfigurationListener
- implements StartupEventBroadcaster, Deactivatable
Allows to bootstrap the JavaEE5 + OpenWebBeans environment in a controlled manner.
Fields inherited from class org.apache.webbeans.servlet.WebBeansConfigurationListener |
failoverService, lifeCycle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final Logger logger
initialized
protected static Map<ClassLoader,Boolean> initialized
storedContainerLifecycle
protected static Map<ClassLoader,org.apache.webbeans.spi.ContainerLifecycle> storedContainerLifecycle
WebBeansAwareConfigurationListener
public WebBeansAwareConfigurationListener()
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent event)
-
- Specified by:
contextInitialized
in interface javax.servlet.ServletContextListener
- Overrides:
contextInitialized
in class org.apache.webbeans.servlet.WebBeansConfigurationListener
requestInitialized
public void requestInitialized(javax.servlet.ServletRequestEvent event)
-
- Specified by:
requestInitialized
in interface javax.servlet.ServletRequestListener
- Overrides:
requestInitialized
in class org.apache.webbeans.servlet.WebBeansConfigurationListener
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent event)
-
- Specified by:
contextDestroyed
in interface javax.servlet.ServletContextListener
- Overrides:
contextDestroyed
in class org.apache.webbeans.servlet.WebBeansConfigurationListener
requestDestroyed
public void requestDestroyed(javax.servlet.ServletRequestEvent event)
-
- Specified by:
requestDestroyed
in interface javax.servlet.ServletRequestListener
- Overrides:
requestDestroyed
in class org.apache.webbeans.servlet.WebBeansConfigurationListener
sessionCreated
public void sessionCreated(javax.servlet.http.HttpSessionEvent event)
-
- Specified by:
sessionCreated
in interface javax.servlet.http.HttpSessionListener
- Overrides:
sessionCreated
in class org.apache.webbeans.servlet.WebBeansConfigurationListener
sessionDestroyed
public void sessionDestroyed(javax.servlet.http.HttpSessionEvent event)
-
- Specified by:
sessionDestroyed
in interface javax.servlet.http.HttpSessionListener
- Overrides:
sessionDestroyed
in class org.apache.webbeans.servlet.WebBeansConfigurationListener
broadcastStartup
public void broadcastStartup()
-
- Specified by:
broadcastStartup
in interface StartupEventBroadcaster
markAsInitialized
protected void markAsInitialized()
isInitialized
protected boolean isInitialized()
storeContainerLifecycle
protected void storeContainerLifecycle()
isActivated
public boolean isActivated()
-
- Specified by:
isActivated
in interface Deactivatable
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.