Class LifeCycleManager


  • @Deprecated(since="2022-01-27")
    public class LifeCycleManager
    extends java.lang.Object
    Deprecated.
    This internal logback API is not supported by AEM as a Cloud Service.
    An object that manages a collection of components that implement the LifeCycle interface. Each component that is added to the manager will be stopped and removed from the manager when the manager is reset.
    • Constructor Summary

      Constructors 
      Constructor Description
      LifeCycleManager()
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void register​(LifeCycle component)
      Deprecated.
      Registers a component with this manager.
      void reset()
      Deprecated.
      Resets this manager.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LifeCycleManager

        public LifeCycleManager()
        Deprecated.
    • Method Detail

      • register

        public void register​(LifeCycle component)
        Deprecated.
        Registers a component with this manager.

        Parameters:
        component - the component whose life cycle is to be managed
      • reset

        public void reset()
        Deprecated.
        Resets this manager.

        All registered components are stopped and removed from the manager.