Package com.netscape.certsrv.base
Class BaseSubsystem
java.lang.Object
com.netscape.certsrv.base.BaseSubsystem
- All Implemented Interfaces:
ISubsystem
This class represents a basic subsystem. Each basic
subsystem is named with an identifier and has a
configuration store.
- Version:
- $Revision$, $Date$
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the configuration store.getId()
Retrieves the subsystem identifier.void
init
(ConfigStore config) Initializes this subsystem.void
Sets the identifier of this subsystem.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.netscape.certsrv.base.ISubsystem
shutdown, startup
-
Constructor Details
-
BaseSubsystem
public BaseSubsystem()
-
-
Method Details
-
init
Initializes this subsystem.- Specified by:
init
in interfaceISubsystem
- Parameters:
config
- configuration store- Throws:
EBaseException
-
getConfigStore
Retrieves the configuration store.- Specified by:
getConfigStore
in interfaceISubsystem
- Returns:
- configuration store
-
setId
Sets the identifier of this subsystem.- Specified by:
setId
in interfaceISubsystem
- Parameters:
id
- subsystem identifier- Throws:
EBaseException
- failed to set id
-
getId
Retrieves the subsystem identifier.- Specified by:
getId
in interfaceISubsystem
- Returns:
- subsystem identifier
-