org.codehaus.classworlds
Class Launcher
java.lang.Object
org.codehaus.plexus.classworlds.launcher.Launcher
org.codehaus.classworlds.Launcher
public class Launcher
- extends Launcher
A compatibility wrapper for org.codehaus.plexus.classworlds.launcher.Launcher
provided for legacy code
- Version:
- $Id$
- Author:
- Andrew Williams
Methods inherited from class org.codehaus.plexus.classworlds.launcher.Launcher |
configure, getEnhancedMainMethod, getExitCode, getMainClass, getMainClassName, getMainMethod, getMainRealm, getMainRealmName, getSystemClassLoader, getWorld, launch, launchEnhanced, launchStandard, setAppMain, setSystemClassLoader, setWorld |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Launcher
public Launcher()
main
public static void main(String[] args)
- Launch the launcher from the command line.
Will exit using System.exit with an exit code of 0 for success, 100 if there was an unknown exception,
or some other code for an application error.
- Parameters:
args
- The application command-line arguments.
mainWithExitCode
public static int mainWithExitCode(String[] args)
throws Exception
- Launch the launcher.
- Parameters:
args
- The application command-line arguments.
- Returns:
- an integer exit code
- Throws:
Exception
- If an error occurs.
Copyright © 2002-2012 Codehaus. All Rights Reserved.