public abstract class BaseSubsystem extends java.lang.Object implements ISubsystem
| Constructor and Description |
|---|
BaseSubsystem() |
| Modifier and Type | Method and Description |
|---|---|
IConfigStore |
getConfigStore()
Retrieves the configuration store.
|
java.lang.String |
getId()
Retrieves the subsystem identifier.
|
void |
init(ISubsystem owner,
IConfigStore config)
Initializes this subsystem.
|
boolean |
isEnabled() |
void |
setEnabled(boolean enabled) |
void |
setId(java.lang.String id)
Sets the identifier of this subsystem.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshutdown, startuppublic void init(ISubsystem owner, IConfigStore config) throws EBaseException
init in interface ISubsystemowner - owner subsystemconfig - configuration storeEBaseException - failed to initializepublic IConfigStore getConfigStore()
getConfigStore in interface ISubsystempublic void setId(java.lang.String id)
throws EBaseException
setId in interface ISubsystemid - subsystem identifierEBaseException - failed to set idpublic java.lang.String getId()
getId in interface ISubsystempublic boolean isEnabled()
public void setEnabled(boolean enabled)