org.apache.webbeans.lifecycle
Class AbstractLifeCycle

java.lang.Object
  extended by org.apache.webbeans.lifecycle.AbstractLifeCycle
All Implemented Interfaces:
ContainerLifecycle
Direct Known Subclasses:
StandaloneLifeCycle

public abstract class AbstractLifeCycle
extends Object
implements ContainerLifecycle


Field Summary
protected  ContextsService contextsService
           
protected  WebBeansLogger logger
           
protected  ScannerService scannerService
          Discover bean classes
protected  WebBeansContext webBeansContext
           
 
Constructor Summary
protected AbstractLifeCycle()
           
protected AbstractLifeCycle(Properties properties)
           
protected AbstractLifeCycle(Properties properties, WebBeansContext webBeansContext)
           
 
Method Summary
protected  void afterInitApplication(Properties properties)
           
protected  void afterStartApplication(Object startupObject)
           
protected  void afterStopApplication(Object stopObject)
           
protected  void beforeInitApplication(Properties properties)
           
protected  void beforeStartApplication(Object startupObject)
           
protected  void beforeStopApplication(Object stopObject)
           
 javax.enterprise.inject.spi.BeanManager getBeanManager()
           
 ContextsService getContextService()
           
protected  WebBeansLogger getLogger()
           
 WebBeansContext getWebBeansContext()
           
 void initApplication(Properties properties)
           
 void startApplication(Object startupObject)
           
 void stopApplication(Object endObject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected WebBeansLogger logger

scannerService

protected ScannerService scannerService
Discover bean classes


contextsService

protected final 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 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-2012 The Apache Software Foundation. All Rights Reserved.