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.voidinit(IConfigStore config) Initializes this subsystem.voidSets the identifier of this subsystem.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.netscape.certsrv.base.ISubsystem
shutdown, startup
-
Constructor Details
-
BaseSubsystem
public BaseSubsystem()
-
-
Method Details
-
init
Initializes this subsystem.- Specified by:
initin interfaceISubsystem- Parameters:
config- configuration store- Throws:
EBaseException- failed to initialize
-
getConfigStore
Retrieves the configuration store.- Specified by:
getConfigStorein interfaceISubsystem- Returns:
- configuration store
-
setId
Sets the identifier of this subsystem.- Specified by:
setIdin interfaceISubsystem- Parameters:
id- subsystem identifier- Throws:
EBaseException- failed to set id
-
getId
Retrieves the subsystem identifier.- Specified by:
getIdin interfaceISubsystem- Returns:
- subsystem identifier
-