Package org.apache.webbeans.lifecycle
Class AbstractLifeCycle
- java.lang.Object
-
- org.apache.webbeans.lifecycle.AbstractLifeCycle
-
- All Implemented Interfaces:
org.apache.webbeans.spi.ContainerLifecycle
- Direct Known Subclasses:
StandaloneLifeCycle
public abstract class AbstractLifeCycle extends Object implements org.apache.webbeans.spi.ContainerLifecycle
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.webbeans.spi.ContextsServicecontextsServiceprotected Loggerloggerprotected org.apache.webbeans.spi.ScannerServicescannerServiceDiscover bean classesprotected AtomicBooleanstartedprotected WebBeansContextwebBeansContext
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractLifeCycle()protectedAbstractLifeCycle(Properties properties)protectedAbstractLifeCycle(Properties properties, WebBeansContext webBeansContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidafterInitApplication(Properties properties)protected voidafterStartApplication(Object startupObject)protected voidafterStopApplication(Object stopObject)protected voidbeforeInitApplication(Properties properties)protected voidbeforeStartApplication(Object startupObject)protected voidbeforeStopApplication(Object stopObject)protected voidbootstrapApplication(Object startupObject)jakarta.enterprise.inject.spi.BeanManagergetBeanManager()org.apache.webbeans.spi.ContextsServicegetContextService()WebBeansContextgetWebBeansContext()voidinitApplication(Properties properties)voidstartApplication(Object startupObject)voidstopApplication(Object endObject)
-
-
-
Field Detail
-
started
protected AtomicBoolean started
-
logger
protected Logger logger
-
scannerService
protected org.apache.webbeans.spi.ScannerService scannerService
Discover bean classes
-
contextsService
protected final org.apache.webbeans.spi.ContextsService contextsService
-
webBeansContext
protected final WebBeansContext webBeansContext
-
-
Constructor Detail
-
AbstractLifeCycle
protected AbstractLifeCycle()
-
AbstractLifeCycle
protected AbstractLifeCycle(Properties properties)
-
AbstractLifeCycle
protected AbstractLifeCycle(Properties properties, WebBeansContext webBeansContext)
-
-
Method Detail
-
getWebBeansContext
public WebBeansContext getWebBeansContext()
-
getBeanManager
public jakarta.enterprise.inject.spi.BeanManager getBeanManager()
- Specified by:
getBeanManagerin interfaceorg.apache.webbeans.spi.ContainerLifecycle
-
startApplication
public void startApplication(Object startupObject)
- Specified by:
startApplicationin interfaceorg.apache.webbeans.spi.ContainerLifecycle
-
bootstrapApplication
protected void bootstrapApplication(Object startupObject)
-
stopApplication
public void stopApplication(Object endObject)
- Specified by:
stopApplicationin interfaceorg.apache.webbeans.spi.ContainerLifecycle
-
getContextService
public org.apache.webbeans.spi.ContextsService getContextService()
- Specified by:
getContextServicein interfaceorg.apache.webbeans.spi.ContainerLifecycle- Returns:
- the contextsService
-
initApplication
public void initApplication(Properties properties)
- Specified by:
initApplicationin interfaceorg.apache.webbeans.spi.ContainerLifecycle
-
beforeInitApplication
protected void beforeInitApplication(Properties properties)
-
afterInitApplication
protected void afterInitApplication(Properties properties)
-
afterStartApplication
protected void afterStartApplication(Object startupObject)
-
afterStopApplication
protected void afterStopApplication(Object stopObject)
-
beforeStartApplication
protected void beforeStartApplication(Object startupObject)
-
beforeStopApplication
protected void beforeStopApplication(Object stopObject)
-
-