Class AbstractLifeCycle

java.lang.Object
org.apache.webbeans.lifecycle.AbstractLifeCycle
All Implemented Interfaces:
org.apache.webbeans.spi.ContainerLifecycle
Direct Known Subclasses:
StandaloneLifeCycle

public abstract class AbstractLifeCycle extends Object implements org.apache.webbeans.spi.ContainerLifecycle
  • Field Details

    • started

      protected AtomicBoolean started
    • logger

      protected Logger logger
    • scannerService

      protected org.apache.webbeans.spi.ScannerService scannerService
      Discover bean classes
    • contextsService

      protected final org.apache.webbeans.spi.ContextsService contextsService
    • webBeansContext

      protected final WebBeansContext webBeansContext
  • Constructor Details

    • AbstractLifeCycle

      protected AbstractLifeCycle()
    • AbstractLifeCycle

      protected AbstractLifeCycle(Properties properties)
    • AbstractLifeCycle

      protected AbstractLifeCycle(Properties properties, WebBeansContext webBeansContext)
  • Method Details

    • getWebBeansContext

      public WebBeansContext getWebBeansContext()
    • 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
    • bootstrapApplication

      protected void bootstrapApplication(Object startupObject)
    • stopApplication

      public void stopApplication(Object endObject)
      Specified by:
      stopApplication in interface org.apache.webbeans.spi.ContainerLifecycle
    • getContextService

      public org.apache.webbeans.spi.ContextsService getContextService()
      Specified by:
      getContextService in interface org.apache.webbeans.spi.ContainerLifecycle
      Returns:
      the contextsService
    • 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)
    • afterStopApplication

      protected void afterStopApplication(Object stopObject)
    • beforeStartApplication

      protected void beforeStartApplication(Object startupObject)
    • beforeStopApplication

      protected void beforeStopApplication(Object stopObject)