Package org.apache.webbeans.lifecycle
Class StandaloneLifeCycle
- java.lang.Object
-
- org.apache.webbeans.lifecycle.AbstractLifeCycle
-
- org.apache.webbeans.lifecycle.StandaloneLifeCycle
-
- All Implemented Interfaces:
org.apache.webbeans.spi.ContainerLifecycle
public class StandaloneLifeCycle extends AbstractLifeCycle
Default LifeCycle for a standalone application without a ServletContainer.
-
-
Field Summary
-
Fields inherited from class org.apache.webbeans.lifecycle.AbstractLifeCycle
contextsService, logger, scannerService, started, webBeansContext
-
-
Constructor Summary
Constructors Constructor Description StandaloneLifeCycle()StandaloneLifeCycle(Properties properties, Logger logger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidafterStartApplication(Object startupObject)protected voidafterStopApplication(Object stopObject)voidbeforeStartApplication(Object object)voidbeforeStopApplication(Object endObject)-
Methods inherited from class org.apache.webbeans.lifecycle.AbstractLifeCycle
afterInitApplication, beforeInitApplication, bootstrapApplication, getBeanManager, getContextService, getWebBeansContext, initApplication, startApplication, stopApplication
-
-
-
-
Constructor Detail
-
StandaloneLifeCycle
public StandaloneLifeCycle(Properties properties, Logger logger)
-
StandaloneLifeCycle
public StandaloneLifeCycle()
-
-
Method Detail
-
beforeStartApplication
public void beforeStartApplication(Object object)
- Overrides:
beforeStartApplicationin classAbstractLifeCycle
-
afterStartApplication
protected void afterStartApplication(Object startupObject)
- Overrides:
afterStartApplicationin classAbstractLifeCycle
-
beforeStopApplication
public void beforeStopApplication(Object endObject)
- Overrides:
beforeStopApplicationin classAbstractLifeCycle
-
afterStopApplication
protected void afterStopApplication(Object stopObject)
- Overrides:
afterStopApplicationin classAbstractLifeCycle
-
-