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 Details

    • CURRENT_APP_INFO

      public static final ThreadLocal<AppInfo> CURRENT_APP_INFO
    • scannerService

      protected org.apache.webbeans.spi.ScannerService scannerService
      Discover 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 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
    • 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
    • startServletContext

      public void startServletContext(jakarta.servlet.ServletContext servletContext)
    • initializeServletContext

      public static void initializeServletContext(jakarta.servlet.ServletContext servletContext, org.apache.webbeans.config.WebBeansContext context)