Package com.netscape.certsrv.base
Interface ISubsystem
-
- All Known Subinterfaces:
IAuthority,ICertAuthority,ICertificateAuthority,ICrossCertPairSubsystem,IDBRegistry,IKeyRecoveryAuthority,ILogSubsystem,IOCSPAuthority,IRegistrationAuthority,ISelfTestSubsystem,IStatsSubsystem,ITKSAuthority
- All Known Implementing Classes:
AbstractProfileSubsystem,AuthSubsystem,AuthzSubsystem,BaseSubsystem,CMSExtensionsMap,DBRegistry,DBSubsystem,JobsScheduler,LDAPProfileSubsystem,LogSubsystem,OidLoaderSubsystem,ProfileSubsystem,ProfileSubsystem,RequestSubsystem,SelfTestSubsystem,StatsSubsystem,X500NameSubsystem
public interface ISubsystemAn interface represents a CMS subsystem. CMS is made up of a list subsystems. Each subsystem is responsible for a set of speciailized functions.- Version:
- $Revision$, $Date$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IConfigStoregetConfigStore()Returns the root configuration storage of this system.java.lang.StringgetId()Retrieves the name of this subsystem.voidinit(IConfigStore config)Initializes this subsystem with the given configuration store.voidsetId(java.lang.String id)Sets specific to this subsystem.voidshutdown()Stops this system.voidstartup()Notifies this subsystem if owner is in running mode.
-
-
-
Method Detail
-
getId
java.lang.String getId()
Retrieves the name of this subsystem.- Returns:
- subsystem identifier
-
setId
void setId(java.lang.String id) throws EBaseExceptionSets specific to this subsystem.- Parameters:
id- subsystem identifier- Throws:
EBaseException- failed to set id
-
init
void init(IConfigStore config) throws EBaseException
Initializes this subsystem with the given configuration store.- Parameters:
config- configuration store- Throws:
EBaseException- failed to initialize
-
startup
void startup() throws EBaseExceptionNotifies 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
-
-