GigaSpaces XAP 9.1 API

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

java.lang.Object
  extended by com.sun.jini.tool.envcheck.AbstractPlugin
      extended by com.sun.jini.tool.envcheck.plugins.CheckCodebase
All Implemented Interfaces:
Plugin

public class CheckCodebase
extends AbstractPlugin

Plugin which performs a variety of checks on codebase components. If not configured to perform service starter checks, the codebase is expected to be defined by the java.rmi.server.codebase system property. Otherwise, all of the codebases contained in the service descriptors of the service starter Configuration are examined (excepting SharedActivationGroupDescriptors, which do not have a codebase). First, an existence check is performed; the codebase string must be non-null and have length > 0 after white space is trimmed. Non-existence is reported as an error. Then the codebase is decomposed into tokens (URL strings). Each component in a codebase is checked for the following:

Failure of the first or last checks are displayed as errors. Failure of the other checks are displayed as warnings.


Nested Class Summary
static class CheckCodebase.GetURLTask
           
 
Constructor Summary
CheckCodebase()
           
 
Method Summary
 void run(EnvCheck envCheck)
          Depending on whether service start checks are configured, either check the codebase system property or all of the ServiceDescriptors that are instanceof NonActivatableServiceDescriptor.
 
Methods inherited from class com.sun.jini.tool.envcheck.AbstractPlugin
getBundle, getString, getString, getString, getString, handleUnexpectedSubtaskReturn, isPluginOption, taskName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckCodebase

public CheckCodebase()
Method Detail

run

public void run(EnvCheck envCheck)
Depending on whether service start checks are configured, either check the codebase system property or all of the ServiceDescriptors that are instanceof NonActivatableServiceDescriptor.

Parameters:
envCheck - a reference to the driver instance.

GigaSpaces XAP 9.1 API

Copyright © GigaSpaces.