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 Log getLogger()
           
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 with a java runner.
static void start(JavaRunner runner, java.lang.String... args)
          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

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

getLogger

public static Log getLogger()

start

public static void start(JavaRunner runner,
                         java.lang.String... args)
Starts runner.

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

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 with a java runner.

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


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