com.sun.jini.tool.envcheck.plugins
Class CheckActivationSystem

java.lang.Object
  extended by com.sun.jini.tool.envcheck.AbstractPlugin
      extended by 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 check is performed by calling 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

envCheck

private EnvCheck envCheck
reference to the container


doCheck

private static boolean doCheck
flag indicating whether to perform the check

Constructor Detail

CheckActivationSystem

public CheckActivationSystem()
Method Detail

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.

checkAvailability

private void checkAvailability()
Performs the check



Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.