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
FieldsModifier and TypeFieldDescriptionprotected final org.apache.webbeans.spi.ContextsServiceprotected Loggerprotected org.apache.webbeans.spi.ScannerServiceDiscover bean classesprotected AtomicBooleanprotected final WebBeansContext -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedAbstractLifeCycle(Properties properties) protectedAbstractLifeCycle(Properties properties, WebBeansContext webBeansContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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.BeanManagerorg.apache.webbeans.spi.ContextsServicevoidinitApplication(Properties properties) voidstartApplication(Object startupObject) voidstopApplication(Object endObject)
-
Field Details
-
started
-
logger
-
scannerService
protected org.apache.webbeans.spi.ScannerService scannerServiceDiscover bean classes -
contextsService
protected final org.apache.webbeans.spi.ContextsService contextsService -
webBeansContext
-
-
Constructor Details
-
AbstractLifeCycle
protected AbstractLifeCycle() -
AbstractLifeCycle
-
AbstractLifeCycle
-
-
Method Details
-
getWebBeansContext
-
getBeanManager
public jakarta.enterprise.inject.spi.BeanManager getBeanManager()- Specified by:
getBeanManagerin interfaceorg.apache.webbeans.spi.ContainerLifecycle
-
startApplication
- Specified by:
startApplicationin interfaceorg.apache.webbeans.spi.ContainerLifecycle
-
bootstrapApplication
-
stopApplication
- 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
- Specified by:
initApplicationin interfaceorg.apache.webbeans.spi.ContainerLifecycle
-
beforeInitApplication
-
afterInitApplication
-
afterStartApplication
-
afterStopApplication
-
beforeStartApplication
-
beforeStopApplication
-