Class LifeCycleManager


  • public final class LifeCycleManager
    extends Object
    Manages PostConstruct and PreDestroy life cycles
    • Constructor Detail

      • LifeCycleManager

        public LifeCycleManager​(List<Object> managedInstances,
                                io.airlift.bootstrap.LifeCycleMethodsMap methodsMap)
                         throws LifeCycleStartException
        Parameters:
        managedInstances - list of objects that have life cycle annotations
        methodsMap - existing or new methods map
        Throws:
        LifeCycleStartException - exceptions starting instances (depending on mode)