org.ow2.jonas.cdi.weld.internal.tomcat
Class WeldLifeCycleListener
java.lang.Object
org.ow2.jonas.cdi.weld.internal.tomcat.WeldLifeCycleListener
- All Implemented Interfaces:
- org.apache.catalina.LifecycleListener
public class WeldLifeCycleListener
- extends Object
- implements org.apache.catalina.LifecycleListener
A WeldLifeCycleListener is a Tomcat Context Lifecycle listener.
It is in charge of Weld container start-up and shut-down process for a web-app.
- Author:
- Guillaume Sauthier
|
Method Summary |
void |
lifecycleEvent(org.apache.catalina.LifecycleEvent event)
React when an event is fired by the Context. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WeldLifeCycleListener
public WeldLifeCycleListener(String moduleName,
org.ow2.easybeans.persistence.api.EZBPersistenceUnitManager persistenceUnitManager,
EZBFactoriesRegistry factoriesRegistry)
- Parameters:
moduleName - The module name used to retrieve EasyBeans factoriespersistenceUnitManager - The EZBPersistenceUnitManager if this webapp contains EJBs null otherwisefactoriesRegistry - The EasyBeans factories registry
lifecycleEvent
public void lifecycleEvent(org.apache.catalina.LifecycleEvent event)
- React when an event is fired by the Context.
- Specified by:
lifecycleEvent in interface org.apache.catalina.LifecycleListener
- Parameters:
event - tomcat Context's life-cycle event
Copyright © 2013 OW2 Consortium. All Rights Reserved.