Interface ApplicationComponent<T extends ApplicationComponent>

    • Method Detail

      • setApplication

        void setApplication​(T t)
        Sets the main application component.
        Parameters:
        t - main application component
      • getApplication

        T getApplication()
        Returns the main application component.
        Returns:
        application object
      • getId

        String getId()
        Unique id for each instance of this object.
        Returns:
        id
      • init

        void init()
        Initializes this component and its sub-components.
      • shutdown

        void shutdown()
               throws ShutdownVetoException
        Shuts down this component and its sub-components.
        Throws:
        ShutdownVetoException - if this component wants to veto the shutdown. This exception is not guaranteed to be honored, i.e. a calling component may simply ignore it