com.sun.jini.tool.envcheck.plugins
Class CheckActivationSystem
java.lang.Object
com.sun.jini.tool.envcheck.AbstractPlugin
com.sun.jini.tool.envcheck.plugins.CheckActivationSystem
- All Implemented Interfaces:
- Plugin
public class CheckActivationSystem
- extends AbstractPlugin
Plugin which checks the liveness of the activation system. The
check will be performed if either:
- the
Configuration
for the tool includes an entry
named activation
which is a boolean and has a
value of true
.
- a service starter configuration is being checked and it contains
an entry of type
SharedActivatableServiceDescriptor
.
The check is performed by calling ActivationGroup.getSystem()
.
A non-exceptional return indicates liveness.
Method Summary |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CheckActivationSystem
public CheckActivationSystem()
isPluginOption
public boolean isPluginOption(String opt)
- Test whether to unconditionally test for the presence of the
activation system. This will be the case if
opt
is
the command-line option -activation
.
- Specified by:
isPluginOption
in interface Plugin
- Overrides:
isPluginOption
in class AbstractPlugin
- Parameters:
opt
- the command-line option
- Returns:
- true if the option is recognized by this plugin
run
public void run(EnvCheck envCheck)
- Determine whether to perform this check, and perform the
check if appropriate.
- Parameters:
envCheck
- a reference to the driver instance.
Copyright © GigaSpaces.