Package org.apache.openejb.cdi
Class OpenEJBLifecycle
java.lang.Object
org.apache.openejb.cdi.OpenEJBLifecycle
- All Implemented Interfaces:
org.apache.webbeans.spi.ContainerLifecycle
- Version:
- $Rev:$ $Date:$
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.apache.webbeans.spi.ContextsService
static final ThreadLocal<AppInfo>
protected org.apache.webbeans.spi.ScannerService
Discover bean classes -
Constructor Summary
ConstructorsConstructorDescriptionOpenEJBLifecycle
(org.apache.webbeans.config.WebBeansContext webBeansContext) Manages unused conversations -
Method Summary
Modifier and TypeMethodDescriptionjakarta.enterprise.inject.spi.BeanManager
org.apache.webbeans.spi.ContextsService
protected org.apache.webbeans.spi.JNDIService
protected org.apache.webbeans.spi.ScannerService
void
initApplication
(Properties properties) static void
initializeServletContext
(jakarta.servlet.ServletContext servletContext, org.apache.webbeans.config.WebBeansContext context) void
startApplication
(Object startupObject) void
startServletContext
(jakarta.servlet.ServletContext servletContext) void
stopApplication
(Object endObject)
-
Field Details
-
CURRENT_APP_INFO
-
scannerService
protected org.apache.webbeans.spi.ScannerService scannerServiceDiscover bean classes -
contextsService
protected final org.apache.webbeans.spi.ContextsService contextsService
-
-
Constructor Details
-
OpenEJBLifecycle
public OpenEJBLifecycle(org.apache.webbeans.config.WebBeansContext webBeansContext) Manages unused conversations
-
-
Method Details
-
getBeanManager
public jakarta.enterprise.inject.spi.BeanManager getBeanManager()- Specified by:
getBeanManager
in interfaceorg.apache.webbeans.spi.ContainerLifecycle
-
startApplication
- Specified by:
startApplication
in interfaceorg.apache.webbeans.spi.ContainerLifecycle
-
stopApplication
- Specified by:
stopApplication
in interfaceorg.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 interfaceorg.apache.webbeans.spi.ContainerLifecycle
- Returns:
- the contextsService
-
getJndiService
protected org.apache.webbeans.spi.JNDIService getJndiService()- Returns:
- the jndiService
-
initApplication
- Specified by:
initApplication
in interfaceorg.apache.webbeans.spi.ContainerLifecycle
-
startServletContext
public void startServletContext(jakarta.servlet.ServletContext servletContext) -
initializeServletContext
public static void initializeServletContext(jakarta.servlet.ServletContext servletContext, org.apache.webbeans.config.WebBeansContext context)
-