Interface ComponentLifecycle<T>

    • Method Detail

      • start

        void start​(PicoContainer container)
        Invoke the "start" method on the component.
        Parameters:
        container - the container to "start" the component
      • stop

        void stop​(PicoContainer container)
        Invoke the "stop" method on the component.
        Parameters:
        container - the container to "stop" the component
      • dispose

        void dispose​(PicoContainer container)
        Invoke the "dispose" method on the component.
        Parameters:
        container - the container to "dispose" the component
      • componentHasLifecycle

        boolean componentHasLifecycle()
        Test if a component honors a lifecycle.
        Returns:
        true if the component has a lifecycle
      • isStarted

        boolean isStarted()