Class InitializableLifecycleHandler

    • Constructor Detail

      • InitializableLifecycleHandler

        public InitializableLifecycleHandler()
    • Method Detail

      • handle

        public <T> void handle​(T instance,
                               ComponentDescriptor<T> descriptor,
                               ComponentManager componentManager)
                        throws Exception
        Description copied from interface: LifecycleHandler
        Handle initialization of the passed component instance.
        Specified by:
        handle in interface LifecycleHandler
        Type Parameters:
        T - the type of the Component
        instance - the component instance to initialize
        descriptor - the descriptor of the passed component
        componentManager - the component manager which is initializing the Component
        Exception - in case the handler fails to handle the Component initialization