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:$
|
Constructor Summary |
OpenEJBLifecycle(org.apache.webbeans.config.WebBeansContext webBeansContext)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CURRENT_APP_INFO
public static final ThreadLocal<AppInfo> CURRENT_APP_INFO
OPENEJB_CDI_SKIP_CLASS_NOT_FOUND
public static final String OPENEJB_CDI_SKIP_CLASS_NOT_FOUND
- See Also:
- Constant Field Values
scannerService
protected org.apache.webbeans.spi.ScannerService scannerService
- Discover bean classes
contextsService
protected final org.apache.webbeans.spi.ContextsService contextsService
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
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
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–2015 The Apache Software Foundation. All rights reserved.