GigaSpaces XAP 9.0 API

com.sun.jini.tool.envcheck.plugins
Class CheckConfig.GetGroupsTask

java.lang.Object
  extended by com.sun.jini.tool.envcheck.plugins.CheckConfig.GetGroupsTask
All Implemented Interfaces:
SubVMTask
Enclosing class:
CheckConfig

public static class CheckConfig.GetGroupsTask
extends Object
implements SubVMTask

Subtask which obtains all initialLookupGroups entries and returns them in an array of GroupInfo objects.


Constructor Summary
CheckConfig.GetGroupsTask()
           
 
Method Summary
 Object run(String[] args)
          Instantiate the configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckConfig.GetGroupsTask

public CheckConfig.GetGroupsTask()
Method Detail

run

public Object run(String[] args)
Instantiate the configuration. args is stripped of its first value, which is the name of this task. The remaining args are used to instantiate the configuration. This operation should never fail since the configuration will have been instantiated previous in an identical way. Once instantiated, search for an ALL_GROUPS definition.

Specified by:
run in interface SubVMTask
Parameters:
args - the args used to start this VM
Returns:
a Boolean(false) if no entries named initialLookupGroups, or the value of initialLookupGroups (a String[]) if the entry is found.

GigaSpaces XAP 9.0 API

Copyright © GigaSpaces.