org.ops4j.pax.runner
Class NoopJavaRunner

java.lang.Object
  extended by org.ops4j.pax.runner.NoopJavaRunner
All Implemented Interfaces:
JavaRunner

public class NoopJavaRunner
extends java.lang.Object
implements JavaRunner

A JavaRunner that does nothing.

Since:
0.13.0, September 17, 2008
Author:
Alin Dreghiciu

Constructor Summary
NoopJavaRunner()
           
 
Method Summary
 void exec(java.lang.String[] vmOptions, java.lang.String[] classpath, java.lang.String mainClass, java.lang.String[] programOptions, java.lang.String javaHome, java.io.File workingDir)
          Starts the selected Java program, up to service implementation whether it waits for it to exit.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoopJavaRunner

public NoopJavaRunner()
Method Detail

exec

public void exec(java.lang.String[] vmOptions,
                 java.lang.String[] classpath,
                 java.lang.String mainClass,
                 java.lang.String[] programOptions,
                 java.lang.String javaHome,
                 java.io.File workingDir)
          throws PlatformException
Starts the selected Java program, up to service implementation whether it waits for it to exit.

Specified by:
exec in interface JavaRunner
Parameters:
vmOptions - selected JVM options
classpath - application class path
mainClass - main program entry point
programOptions - program specific options
javaHome - java home directory
workingDir - working directory
Throws:
PlatformException - if something goes wrong


Copyright © 2006-2012 OPS4J - Open Participation Software for Java. All Rights Reserved.