org.jboss.errai.container
Class BootstrapListener
java.lang.Object
org.jboss.errai.container.BootstrapListener
- All Implemented Interfaces:
- EventListener, javax.servlet.ServletContextListener
public class BootstrapListener
- extends Object
- implements javax.servlet.ServletContextListener
ErraiService bootstrap strategy: Either attach to an existing service instance
or create a new one and bind it to JNDI. Currently limited to JBoss.
The actually service instance will be exposed through the servlet context.
Note: This only works in conjunction with a Weld bootstrap listener.
An AS 6 Weld is driven by the deployment framework and solution doesn't apply.
- See Also:
AbstractErraiServlet
,
CDIExtensionPoints
Field Summary |
protected org.slf4j.Logger |
log
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected org.slf4j.Logger log
BootstrapListener
public BootstrapListener()
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent event)
- Specified by:
contextInitialized
in interface javax.servlet.ServletContextListener
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent event)
- Specified by:
contextDestroyed
in interface javax.servlet.ServletContextListener
Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.