org.apache.myfaces.extensions.cdi.weld.startup
Class WeldAwareConfigurationListener
java.lang.Object
org.jboss.weld.servlet.api.helpers.ForwardingServletListener
org.jboss.weld.environment.servlet.Listener
org.apache.myfaces.extensions.cdi.weld.startup.WeldAwareConfigurationListener
- All Implemented Interfaces:
- EventListener, javax.servlet.http.HttpSessionListener, javax.servlet.ServletContextListener, javax.servlet.ServletRequestListener, Deactivatable, StartupEventBroadcaster, org.jboss.weld.servlet.api.ServletListener
@InvocationOrder(value=1)
public class WeldAwareConfigurationListener
- extends org.jboss.weld.environment.servlet.Listener
- implements StartupEventBroadcaster, Deactivatable
Allows to bootstrap the JavaEE5 + OpenWebBeans environment in a controlled manner.
Fields inherited from class org.jboss.weld.environment.servlet.Listener |
BEAN_MANAGER_ATTRIBUTE_NAME |
Methods inherited from class org.jboss.weld.environment.servlet.Listener |
checkContainers, contextDestroyed, createServletDeployment, createUrlScanner, delegate, findContainer |
Methods inherited from class org.jboss.weld.servlet.api.helpers.ForwardingServletListener |
requestDestroyed, requestInitialized, sessionCreated, sessionDestroyed |
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
WeldAwareConfigurationListener
public WeldAwareConfigurationListener()
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent event)
-
- Specified by:
contextInitialized
in interface javax.servlet.ServletContextListener
- Overrides:
contextInitialized
in class org.jboss.weld.environment.servlet.Listener
broadcastStartup
public void broadcastStartup()
-
- Specified by:
broadcastStartup
in interface StartupEventBroadcaster
markAsInitialized
protected void markAsInitialized()
isInitialized
protected boolean isInitialized()
isActivated
public boolean isActivated()
-
- Specified by:
isActivated
in interface Deactivatable
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.