public interface ISubsystem
Modifier and Type | Method and Description |
---|---|
IConfigStore |
getConfigStore()
Returns the root configuration storage of this system.
|
java.lang.String |
getId()
Retrieves the name of this subsystem.
|
void |
init(ISubsystem owner,
IConfigStore config)
Initializes this subsystem with the given configuration
store.
|
void |
setId(java.lang.String id)
Sets specific to this subsystem.
|
void |
shutdown()
Stops this system.
|
void |
startup()
Notifies this subsystem if owner is in running mode.
|
java.lang.String getId()
void setId(java.lang.String id) throws EBaseException
id
- subsystem identifierEBaseException
- failed to set idvoid init(ISubsystem owner, IConfigStore config) throws EBaseException
owner
- owner of this subsystemconfig
- configuration storeEBaseException
- failed to initializevoid startup() throws EBaseException
EBaseException
- failed to start upvoid shutdown()
IConfigStore getConfigStore()