com.sun.jini.tool.envcheck
Interface SubVMTask


public interface SubVMTask

A subtask to be run in a separate VM. Classes implementing this interface must provide a public no-arg constructor.


Method Summary
 Object run(String[] args)
          Run the subtask.
 

Method Detail

run

Object run(String[] args)
Run the subtask. Return an object representing the result of the task. If an unexpected exception is thrown in the body of the method, it should be caught and used as the returned object.

Parameters:
args -
Returns:
the task status object, which may be null


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