com.netscape.certsrv.base
Class ASubsystem

java.lang.Object
  extended by com.netscape.certsrv.base.ASubsystem
All Implemented Interfaces:
ISubsystem

public abstract class ASubsystem
extends java.lang.Object
implements ISubsystem

This class represents a basic subsystem. Each basic subsystem is named with an identifier and has a configuration store.

Version:
$Revision: 1211 $, $Date: 2010-08-18 10:15:37 -0700 (Wed, 18 Aug 2010) $

Constructor Summary
ASubsystem()
           
 
Method Summary
 IConfigStore getConfigStore()
          Retrieves the configuration store.
 java.lang.String getId()
          Retrieves the subsystem identifier.
 void init(ISubsystem parent, IConfigStore cfg)
          Initializes this subsystem.
 void setId(java.lang.String id)
          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 Detail

ASubsystem

public ASubsystem()
Method Detail

init

public void init(ISubsystem parent,
                 IConfigStore cfg)
Initializes this subsystem.

Specified by:
init in interface ISubsystem
Parameters:
parent - parent subsystem
cfg - configuration store

getConfigStore

public IConfigStore getConfigStore()
Retrieves the configuration store.

Specified by:
getConfigStore in interface ISubsystem
Returns:
configuration store

setId

public void setId(java.lang.String id)
Sets the identifier of this subsystem.

Specified by:
setId in interface ISubsystem
Parameters:
id - subsystem identifier

getId

public java.lang.String getId()
Retrieves the subsystem identifier.

Specified by:
getId in interface ISubsystem
Returns:
subsystem identifier