public class OpenEJBLifecycle extends Object implements org.apache.webbeans.spi.ContainerLifecycle
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.webbeans.spi.ContextsService |
contextsService |
static ThreadLocal<AppInfo> |
CURRENT_APP_INFO |
static String |
OPENEJB_CDI_SKIP_CLASS_NOT_FOUND |
protected org.apache.webbeans.spi.ScannerService |
scannerService
Discover bean classes
|
| Constructor and Description |
|---|
OpenEJBLifecycle(org.apache.webbeans.config.WebBeansContext webBeansContext) |
| Modifier and Type | Method and Description |
|---|---|
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() |
org.apache.webbeans.spi.ContextsService |
getContextService() |
protected org.apache.webbeans.spi.JNDIService |
getJndiService() |
protected org.apache.webbeans.spi.ScannerService |
getScannerService() |
protected org.apache.webbeans.xml.WebBeansXMLConfigurator |
getXmlDeployer() |
void |
initApplication(Properties properties) |
static ScheduledExecutorService |
initializeServletContext(javax.servlet.ServletContext servletContext,
org.apache.webbeans.config.WebBeansContext context) |
void |
startApplication(Object startupObject) |
void |
startServletContext(javax.servlet.ServletContext servletContext) |
void |
stopApplication(Object endObject) |
public static final ThreadLocal<AppInfo> CURRENT_APP_INFO
public static final String OPENEJB_CDI_SKIP_CLASS_NOT_FOUND
protected org.apache.webbeans.spi.ScannerService scannerService
protected final org.apache.webbeans.spi.ContextsService contextsService
public OpenEJBLifecycle(org.apache.webbeans.config.WebBeansContext webBeansContext)
public javax.enterprise.inject.spi.BeanManager getBeanManager()
getBeanManager in interface org.apache.webbeans.spi.ContainerLifecyclepublic void startApplication(Object startupObject)
startApplication in interface org.apache.webbeans.spi.ContainerLifecyclepublic void stopApplication(Object endObject)
stopApplication in interface org.apache.webbeans.spi.ContainerLifecycleprotected org.apache.webbeans.spi.ScannerService getScannerService()
public org.apache.webbeans.spi.ContextsService getContextService()
getContextService in interface org.apache.webbeans.spi.ContainerLifecycleprotected org.apache.webbeans.xml.WebBeansXMLConfigurator getXmlDeployer()
protected org.apache.webbeans.spi.JNDIService getJndiService()
public void initApplication(Properties properties)
initApplication in interface org.apache.webbeans.spi.ContainerLifecycleprotected void beforeInitApplication(Properties properties)
protected void afterInitApplication(Properties properties)
protected void afterStartApplication(Object startupObject)
public void startServletContext(javax.servlet.ServletContext servletContext)
public static ScheduledExecutorService initializeServletContext(javax.servlet.ServletContext servletContext, org.apache.webbeans.config.WebBeansContext context)
protected void afterStopApplication(Object stopObject) throws Exception
Exceptionprotected void beforeStartApplication(Object startupObject)
Copyright © 1999–2014 The Apache Software Foundation. All rights reserved.