cuba.util
Class JavaExecutor

java.lang.Object
  extended by cuba.util.JavaExecutor

public class JavaExecutor
extends java.lang.Object

Utility Class to execute Java System Calls in a seperate Runtime

Author:
Jan Wegener

Constructor Summary
JavaExecutor()
           
 
Method Summary
static void performJavaCallAndWait(java.lang.String classname, java.lang.String options)
          Calls a javaclass in a seperate Runtime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaExecutor

public JavaExecutor()
Method Detail

performJavaCallAndWait

public static void performJavaCallAndWait(java.lang.String classname,
                                          java.lang.String options)
                                   throws GeneratorException
Calls a javaclass in a seperate Runtime

Parameters:
classname - Name of the class to run
classpath - Classpath to use
options - Parameters for class execution
Throws:
GeneratorException