Class EnterpriseTestLifeCycle
- java.lang.Object
-
- org.apache.webbeans.lifecycle.AbstractLifeCycle
-
- org.apache.webbeans.lifecycle.StandaloneLifeCycle
-
- org.apache.webbeans.web.lifecycle.test.EnterpriseTestLifeCycle
-
- All Implemented Interfaces:
org.apache.webbeans.spi.ContainerLifecycle
public class EnterpriseTestLifeCycle extends org.apache.webbeans.lifecycle.StandaloneLifeCycleEase the writing of the tests. Simulates container startup and stop functionality. This will scan all classes on the classpaths which have a beans.xml file.- Version:
- $Rev: 892509 $ $Date: 2009-12-19 23:47:15 +0200 (Sat, 19 Dec 2009) $
-
-
Constructor Summary
Constructors Constructor Description EnterpriseTestLifeCycle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeforeStartApplication(Object object)voidbeforeStopApplication(Object endObject)voidinitApplication(Properties properties)-
Methods inherited from class org.apache.webbeans.lifecycle.StandaloneLifeCycle
afterStartApplication, afterStopApplication
-
-
-
-
Method Detail
-
beforeStartApplication
public void beforeStartApplication(Object object)
- Overrides:
beforeStartApplicationin classorg.apache.webbeans.lifecycle.StandaloneLifeCycle
-
initApplication
public void initApplication(Properties properties)
- Specified by:
initApplicationin interfaceorg.apache.webbeans.spi.ContainerLifecycle- Overrides:
initApplicationin classorg.apache.webbeans.lifecycle.AbstractLifeCycle
-
beforeStopApplication
public void beforeStopApplication(Object endObject)
- Overrides:
beforeStopApplicationin classorg.apache.webbeans.lifecycle.StandaloneLifeCycle
-
-