|
||||||||||
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.tks.TKSKnownSessionKey
public class TKSKnownSessionKey
This class implements a self test to check for TKS known session key.
Field Summary | |
---|---|
static java.lang.String |
PROP_TKS_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 | |
---|---|
TKSKnownSessionKey()
|
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_TKS_SUB_ID
Constructor Detail |
---|
public TKSKnownSessionKey()
Method Detail |
---|
public void initSelfTest(ISelfTestSubsystem subsystem, java.lang.String instanceName, IConfigStore parameters) throws EDuplicateSelfTestException, EInvalidSelfTestException, EMissingSelfTestException
initSelfTest
in interface ISelfTest
initSelfTest
in class ASelfTest
subsystem
- 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/valuepublic void startupSelfTest() throws ESelfTestException
startupSelfTest
in interface ISelfTest
startupSelfTest
in class ASelfTest
ESelfTestException
- failed to startpublic void shutdownSelfTest()
shutdownSelfTest
in interface ISelfTest
shutdownSelfTest
in class ASelfTest
public java.lang.String getSelfTestName()
getSelfTestName
in interface ISelfTest
getSelfTestName
in class ASelfTest
public IConfigStore getSelfTestConfigStore()
getSelfTestConfigStore
in interface ISelfTest
getSelfTestConfigStore
in class ASelfTest
public java.lang.String getSelfTestDescription(java.util.Locale locale)
getSelfTestDescription
in interface ISelfTest
getSelfTestDescription
in class ASelfTest
locale
- locale of the client that requests the description
public void runSelfTest(ILogEventListener logger) throws ESelfTestException
runSelfTest
in interface ISelfTest
runSelfTest
in class ASelfTest
logger
- specifies logging subsystem
ESelfTestException
- self test exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |