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
AbstractLifeCycle
protected AbstractLifeCycle()
AbstractLifeCycle
protected AbstractLifeCycle(Properties properties)
getBeanManager
public BeanManager getBeanManager()
- Specified by:
getBeanManager in interface ContainerLifecycle
startApplication
public void startApplication(Object startupObject)
throws Exception
- Specified by:
startApplication in interface ContainerLifecycle
- Throws:
Exception
stopApplication
public void stopApplication(Object endObject)
- Specified by:
stopApplication in interface ContainerLifecycle
getLogger
protected WebBeansLogger getLogger()
- Returns:
- the logger
getScannerService
protected ScannerService getScannerService()
- Returns:
- the scannerService
getContextService
public ContextsService getContextService()
- Specified by:
getContextService in interface ContainerLifecycle
- Returns:
- the contextsService
getDeployer
protected BeansDeployer getDeployer()
- Returns:
- the deployer
getXmlDeployer
protected WebBeansXMLConfigurator getXmlDeployer()
- Returns:
- the xmlDeployer
getJndiService
protected JNDIService getJndiService()
- Returns:
- the jndiService
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)
throws Exception
- Throws:
Exception
afterStopApplication
protected void afterStopApplication(Object stopObject)
throws Exception
- Throws:
Exception
beforeStartApplication
protected void beforeStartApplication(Object startupObject)
throws Exception
- Throws:
Exception
beforeStopApplication
protected void beforeStopApplication(Object stopObject)
throws Exception
- Throws:
Exception
Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.