org.ops4j.pax.runner
Class Run

java.lang.Object
  extended by org.ops4j.pax.runner.Run

public class Run
extends java.lang.Object

Main runner class. Does all the work.

Since:
August 26, 2007
Author:
Alin Dreghiciu

Constructor Summary
Run()
          Creates a new runner.
 
Method Summary
static void main(JavaRunner runner, java.lang.String... args)
          Start OSGi framework based on command-line arguments, using external Java runner service.
static void main(java.lang.String... args)
          
 void start(CommandLine commandLine, Configuration config, OptionResolver resolver)
          Starts runner.
 void start(CommandLine commandLine, Configuration config, OptionResolver resolver, JavaRunner runner)
          Starts runner.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Run

public Run()
Creates a new runner.

Method Detail

start

public void start(CommandLine commandLine,
                  Configuration config,
                  OptionResolver resolver)
Starts runner.

Parameters:
commandLine - comand line to use
config - configuration to use
resolver - an option resolver

start

public void start(CommandLine commandLine,
                  Configuration config,
                  OptionResolver resolver,
                  JavaRunner runner)
Starts runner.

Parameters:
commandLine - comand line to use
config - configuration to use
resolver - an option resolver
runner - Java runner service

main

public static void main(java.lang.String... args)


main

public static void main(JavaRunner runner,
                        java.lang.String... args)
Start OSGi framework based on command-line arguments, using external Java runner service.

Parameters:
runner - Java runner service
args - command-line arguments


Copyright © 2008. All Rights Reserved.