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(IWeldService weld,
org.jboss.weld.bootstrap.spi.Deployment deployment,
WeldDeployableInfo info)
- Construct a WeldLifeCycleListener.
- Parameters:
weld - weld servicedeployment - Weld deployment instanceinfo - the Weld deployable infor related to the Deployable instance
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 © 2010 OW2 Consortium. All Rights Reserved.