Class BeanManagerResourceBindingListener
- java.lang.Object
-
- org.jboss.weld.environment.servlet.BeanManagerResourceBindingListener
-
- All Implemented Interfaces:
jakarta.servlet.ServletContextListener,EventListener
public class BeanManagerResourceBindingListener extends Object implements jakarta.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
-
-
Constructor Summary
Constructors Constructor Description BeanManagerResourceBindingListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcontextDestroyed(jakarta.servlet.ServletContextEvent sce)voidcontextInitialized(jakarta.servlet.ServletContextEvent sce)
-
-
-
Method Detail
-
contextInitialized
public void contextInitialized(jakarta.servlet.ServletContextEvent sce)
- Specified by:
contextInitializedin interfacejakarta.servlet.ServletContextListener
-
contextDestroyed
public void contextDestroyed(jakarta.servlet.ServletContextEvent sce)
- Specified by:
contextDestroyedin interfacejakarta.servlet.ServletContextListener
-
-