Class 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 Detail

      • logger

        protected Logger logger
      • scannerService

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

        protected final org.apache.webbeans.spi.ContextsService contextsService
    • Constructor Detail

      • AbstractLifeCycle

        protected AbstractLifeCycle()
      • AbstractLifeCycle

        protected AbstractLifeCycle​(Properties properties)
    • Method Detail

      • 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)