org.jboss.weld.environment.servlet
Class BeanManagerResourceBindingListener
java.lang.Object
org.jboss.weld.environment.servlet.BeanManagerResourceBindingListener
- All Implemented Interfaces:
- EventListener, javax.servlet.ServletContextListener
public class BeanManagerResourceBindingListener
- extends Object
- implements javax.servlet.ServletContextListener
Emulates the behavior of the naming resource binding that is typically done
using configuration files in Tomcat and Jetty. This listener provides the ability
to bind the BeanManager to JNDI without the need for configuration.
- Author:
- Dan Allen, Christian Sadilek
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BeanManagerResourceBindingListener
public BeanManagerResourceBindingListener()
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent sce)
- Specified by:
contextInitialized
in interface javax.servlet.ServletContextListener
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent sce)
- Specified by:
contextDestroyed
in interface javax.servlet.ServletContextListener
Copyright © 2013 Seam Framework. All Rights Reserved.