GigaSpaces XAP 9.7.2 API

com.sun.jini.tool.envcheck
Class SubVM

java.lang.Object
  extended by com.sun.jini.tool.envcheck.SubVM

public class SubVM
extends Object

A container for a subtask which runs in a separate and returns a single object by writing that object to System.out.


Constructor Summary
SubVM()
           
 
Method Summary
static void main(String[] args)
          Entry point for the subtask.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubVM

public SubVM()
Method Detail

main

public static void main(String[] args)
Entry point for the subtask. The first element of args must name a SubVMTask to run; the remaining elements comprise the arguments for the subtask. That task is instantiated, and its run(String[] args) method called passing an array containing only the subtask arguments. The object returned by the run method is written to System.out. If the run method throws an exception, then that exception is written to System.out instead.

Parameters:
args - the command line arguments

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.