org.apache.webbeans.lifecycle
Class AbstractLifeCycle
java.lang.Object
org.apache.webbeans.lifecycle.AbstractLifeCycle
- All Implemented Interfaces:
- ContainerLifecycle
- Direct Known Subclasses:
- StandaloneLifeCycle
public abstract class AbstractLifeCycle
- extends Object
- implements ContainerLifecycle
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected WebBeansLogger logger
scannerService
protected ScannerService scannerService
- Discover bean classes
contextsService
protected final ContextsService contextsService
webBeansContext
protected final WebBeansContext webBeansContext
AbstractLifeCycle
protected AbstractLifeCycle()
AbstractLifeCycle
protected AbstractLifeCycle(Properties properties)
AbstractLifeCycle
protected AbstractLifeCycle(Properties properties,
WebBeansContext webBeansContext)
getWebBeansContext
public WebBeansContext getWebBeansContext()
getBeanManager
public javax.enterprise.inject.spi.BeanManager getBeanManager()
- Specified by:
getBeanManager in interface ContainerLifecycle
startApplication
public void startApplication(Object startupObject)
- Specified by:
startApplication in interface ContainerLifecycle
stopApplication
public void stopApplication(Object endObject)
- Specified by:
stopApplication in interface ContainerLifecycle
getLogger
protected WebBeansLogger getLogger()
- Returns:
- the logger
getContextService
public ContextsService getContextService()
- Specified by:
getContextService in interface ContainerLifecycle
- Returns:
- the contextsService
initApplication
public void initApplication(Properties properties)
- Specified by:
initApplication in interface 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)
Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.