Interface ISubsystem

    • Method Detail

      • getId

        java.lang.String getId()
        Retrieves the name of this subsystem.
        Returns:
        subsystem identifier
      • setId

        void setId​(java.lang.String id)
            throws EBaseException
        Sets specific to this subsystem.
        Parameters:
        id - subsystem identifier
        Throws:
        EBaseException - failed to set id
      • init

        void init​(ISubsystem owner,
                  IConfigStore config)
           throws EBaseException
        Initializes this subsystem with the given configuration store.

        Parameters:
        owner - owner of this subsystem
        config - configuration store
        Throws:
        EBaseException - failed to initialize
      • startup

        void startup()
              throws EBaseException
        Notifies this subsystem if owner is in running mode.
        Throws:
        EBaseException - failed to start up
      • shutdown

        void shutdown()
        Stops this system. The owner may call shutdown anytime after initialization.

      • getConfigStore

        IConfigStore getConfigStore()
        Returns the root configuration storage of this system.

        Returns:
        configuration store of this subsystem