|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jini.tool.envcheck.AbstractPlugin
com.sun.jini.tool.envcheck.plugins.CheckActivationSystem
public class CheckActivationSystem
Plugin which checks the liveness of the activation system. The check will be performed if either:
Configuration
for the tool includes an entry
named activation
which is a boolean and has a
value of true
.
SharedActivatableServiceDescriptor
.
ActivationGroup.getSystem()
.
A non-exceptional return indicates liveness.
Nested Class Summary | |
---|---|
static class |
CheckActivationSystem.CheckActivationTask
subtask to perform the actual check |
Field Summary | |
---|---|
private static boolean |
doCheck
flag indicating whether to perform the check |
private EnvCheck |
envCheck
reference to the container |
Constructor Summary | |
---|---|
CheckActivationSystem()
|
Method Summary | |
---|---|
private void |
checkAvailability()
Performs the check |
boolean |
isPluginOption(String opt)
Test whether to unconditionally test for the presence of the activation system. |
void |
run(EnvCheck envCheck)
Determine whether to perform this check, and perform the check if appropriate. |
Methods inherited from class com.sun.jini.tool.envcheck.AbstractPlugin |
---|
getBundle, getString, getString, getString, getString, handleUnexpectedSubtaskReturn, taskName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private EnvCheck envCheck
private static boolean doCheck
Constructor Detail |
---|
public CheckActivationSystem()
Method Detail |
---|
public boolean isPluginOption(String opt)
opt
is
the command-line option -activation
.
isPluginOption
in interface Plugin
isPluginOption
in class AbstractPlugin
opt
- the command-line option
public void run(EnvCheck envCheck)
envCheck
- a reference to the driver instance.private void checkAvailability()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |