org.apache.openejb.cdi
Class OpenEJBLifecycle
java.lang.Object
org.apache.openejb.cdi.OpenEJBLifecycle
- All Implemented Interfaces:
- org.apache.webbeans.spi.ContainerLifecycle
public class OpenEJBLifecycle
- extends Object
- implements org.apache.webbeans.spi.ContainerLifecycle
- Version:
- $Rev:$ $Date:$
|
Field Summary |
protected org.apache.webbeans.spi.ContextsService |
contextsService
|
protected static org.apache.webbeans.logger.WebBeansLogger |
logger
|
protected org.apache.webbeans.spi.ScannerService |
scannerService
Discover bean classes |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static org.apache.webbeans.logger.WebBeansLogger logger
scannerService
protected org.apache.webbeans.spi.ScannerService scannerService
- Discover bean classes
contextsService
protected final org.apache.webbeans.spi.ContextsService contextsService
OpenEJBLifecycle
public OpenEJBLifecycle()
OpenEJBLifecycle
public OpenEJBLifecycle(org.apache.webbeans.config.WebBeansContext webBeansContext)
getBeanManager
public javax.enterprise.inject.spi.BeanManager getBeanManager()
- Specified by:
getBeanManager in interface org.apache.webbeans.spi.ContainerLifecycle
startApplication
public void startApplication(Object startupObject)
- Specified by:
startApplication in interface org.apache.webbeans.spi.ContainerLifecycle
stopApplication
public void stopApplication(Object endObject)
- Specified by:
stopApplication in interface org.apache.webbeans.spi.ContainerLifecycle
getLogger
protected org.apache.webbeans.logger.WebBeansLogger getLogger()
- Returns:
- the logger
getScannerService
protected org.apache.webbeans.spi.ScannerService getScannerService()
- Returns:
- the scannerService
getContextService
public org.apache.webbeans.spi.ContextsService getContextService()
- Specified by:
getContextService in interface org.apache.webbeans.spi.ContainerLifecycle
- Returns:
- the contextsService
getDeployer
protected BeansDeployer getDeployer()
- Returns:
- the deployer
getXmlDeployer
protected org.apache.webbeans.xml.WebBeansXMLConfigurator getXmlDeployer()
- Returns:
- the xmlDeployer
getJndiService
protected org.apache.webbeans.spi.JNDIService getJndiService()
- Returns:
- the jndiService
initApplication
public void initApplication(Properties properties)
- Specified by:
initApplication in interface org.apache.webbeans.spi.ContainerLifecycle
beforeInitApplication
protected void beforeInitApplication(Properties properties)
afterInitApplication
protected void afterInitApplication(Properties properties)
afterStartApplication
protected void afterStartApplication(Object startupObject)
startServletContext
public void startServletContext(javax.servlet.ServletContext servletContext)
initializeServletContext
public static ScheduledExecutorService initializeServletContext(javax.servlet.ServletContext servletContext,
org.apache.webbeans.config.WebBeansContext context)
afterStopApplication
protected void afterStopApplication(Object stopObject)
throws Exception
- Throws:
Exception
beforeStartApplication
protected void beforeStartApplication(Object startupObject)
beforeStopApplication
protected void beforeStopApplication(Object stopObject)
throws Exception
- Throws:
Exception
Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.