org.ow2.petals.launcher
Class PetalsLauncher

java.lang.Object
  extended by org.ow2.petals.launcher.PetalsLauncher

public class PetalsLauncher
extends java.lang.Object

Command Line Interface to start petals ESB server

Author:
sandre

Field Summary
static java.lang.String NAME
           
static java.lang.String PETALS_HOME_PROPERTY_NAME
           
static java.lang.String[] TITLE
           
 
Constructor Summary
PetalsLauncher()
           
 
Method Summary
protected  void launchPetalsServer(Configuration config)
          Launch Petals ESB Server
static void main(java.lang.String[] args)
          Parse options and command line arguments
protected  void parseOptions(java.lang.String[] options)
           
protected  void printLauncherVersion()
          Print launcher version informations
protected  void printUsageMessage()
          Print the usage message
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values

PETALS_HOME_PROPERTY_NAME

public static final java.lang.String PETALS_HOME_PROPERTY_NAME
See Also:
Constant Field Values

TITLE

public static final java.lang.String[] TITLE
Constructor Detail

PetalsLauncher

public PetalsLauncher()
Method Detail

parseOptions

protected void parseOptions(java.lang.String[] options)
Parameters:
options -

launchPetalsServer

protected void launchPetalsServer(Configuration config)
                           throws java.lang.ClassNotFoundException,
                                  java.lang.InstantiationException,
                                  java.lang.IllegalAccessException,
                                  java.lang.InterruptedException,
                                  PetalsLauncherException,
                                  java.lang.SecurityException,
                                  java.lang.NoSuchMethodException,
                                  java.lang.IllegalArgumentException,
                                  java.lang.reflect.InvocationTargetException
Launch Petals ESB Server

Parameters:
config - the ESB configuration
Throws:
PetalsLauncherException - when an error occurs while starting petals
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.InterruptedException
java.lang.NoSuchMethodException
java.lang.SecurityException
java.lang.reflect.InvocationTargetException
java.lang.IllegalArgumentException

printLauncherVersion

protected void printLauncherVersion()
Print launcher version informations


printUsageMessage

protected void printUsageMessage()
Print the usage message


main

public static void main(java.lang.String[] args)
Parse options and command line arguments

Parameters:
args - Arguments from the command line


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.