GigaSpaces XAP 9.0 API

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

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

public class CheckJSKPolicy
extends AbstractPlugin

Check whether jsk-policy.jar is installed in the extensions directory. For both the current VM and for the group VM (if any) load net.jini.security.policy.DynamicPolicyProvider and verify that it was loaded with the extension classloader by verifying that the parent loader is the bootstrap loader (null). The group VM is checked only if the descriptors getServerCommand() method returns non-null


Nested Class Summary
static class CheckJSKPolicy.JSKPolicyTask
          The task which checks the group VM.
 
Constructor Summary
CheckJSKPolicy()
           
 
Method Summary
 void run(EnvCheck envCheck)
          Perform the check both for the current VM, and for the group VM if a SharedActivationGroupDescriptor is available from the plugin container.
 
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

CheckJSKPolicy

public CheckJSKPolicy()
Method Detail

run

public void run(EnvCheck envCheck)
Perform the check both for the current VM, and for the group VM if a SharedActivationGroupDescriptor is available from the plugin container.

Parameters:
envCheck - a reference to the driver instance.

GigaSpaces XAP 9.0 API

Copyright © GigaSpaces.