|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.netscape.cms.selftests.ASelfTest
com.netscape.cms.selftests.ca.CAPresence
public class CAPresence
This class implements a self test to check for CA presence.
| Field Summary | |
|---|---|
static java.lang.String |
PROP_CA_SUB_ID
|
| Fields inherited from class com.netscape.cms.selftests.ASelfTest |
|---|
mConfig, mInstanceName, mPrefix, mSelfTestSubsystem |
| Fields inherited from interface com.netscape.certsrv.selftests.ISelfTest |
|---|
PROP_PLUGIN |
| Constructor Summary | |
|---|---|
CAPresence()
|
|
| Method Summary | |
|---|---|
IConfigStore |
getSelfTestConfigStore()
Returns the root configuration storage (self test parameters) associated with this subsystem. |
java.lang.String |
getSelfTestDescription(java.util.Locale locale)
Retrieves description associated with an individual self test. |
java.lang.String |
getSelfTestName()
Returns the name associated with this self test. |
void |
initSelfTest(ISelfTestSubsystem subsystem,
java.lang.String instanceName,
IConfigStore parameters)
Initializes this subsystem with the configuration store associated with this instance name. |
void |
runSelfTest(ILogEventListener logger)
Execute an individual self test. |
void |
shutdownSelfTest()
Stops this subsystem. |
void |
startupSelfTest()
Notifies this subsystem if it is in execution mode. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PROP_CA_SUB_ID
| Constructor Detail |
|---|
public CAPresence()
| Method Detail |
|---|
public void initSelfTest(ISelfTestSubsystem subsystem,
java.lang.String instanceName,
IConfigStore parameters)
throws EDuplicateSelfTestException,
EInvalidSelfTestException,
EMissingSelfTestException
initSelfTest in interface ISelfTestinitSelfTest in class ASelfTestsubsystem - the associated subsysteminstanceName - the name of this self test instanceparameters - configuration store (self test parameters)
EDuplicateSelfTestException - subsystem has duplicate name/value
EInvalidSelfTestException - subsystem has invalid name/value
EMissingSelfTestException - subsystem has missing name/value
public void startupSelfTest()
throws ESelfTestException
startupSelfTest in interface ISelfTeststartupSelfTest in class ASelfTestESelfTestException - failed to startpublic void shutdownSelfTest()
shutdownSelfTest in interface ISelfTestshutdownSelfTest in class ASelfTestpublic java.lang.String getSelfTestName()
getSelfTestName in interface ISelfTestgetSelfTestName in class ASelfTestpublic IConfigStore getSelfTestConfigStore()
getSelfTestConfigStore in interface ISelfTestgetSelfTestConfigStore in class ASelfTestpublic java.lang.String getSelfTestDescription(java.util.Locale locale)
getSelfTestDescription in interface ISelfTestgetSelfTestDescription in class ASelfTestlocale - locale of the client that requests the description
public void runSelfTest(ILogEventListener logger)
throws ESelfTestException
runSelfTest in interface ISelfTestrunSelfTest in class ASelfTestlogger - specifies logging subsystem
ESelfTestException - self test exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||