Package org.codehaus.classworlds
Class Launcher
- java.lang.Object
-
- org.codehaus.plexus.classworlds.launcher.Launcher
-
- org.codehaus.classworlds.Launcher
-
@Deprecated public class Launcher extends Launcher
Deprecated.A compatibility wrapper for org.codehaus.plexus.classworlds.launcher.Launcher provided for legacy code
-
-
Field Summary
-
Fields inherited from class org.codehaus.plexus.classworlds.launcher.Launcher
CLASSWORLDS_CONF, mainClassName, mainRealmName, systemClassLoader, UBERJAR_CONF_DIR, world
-
-
Constructor Summary
Constructors Constructor Description Launcher()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
Deprecated.Launch the launcher from the command line.static int
mainWithExitCode(java.lang.String[] args)
Deprecated.Launch the launcher.-
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
-
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
Deprecated.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(java.lang.String[] args) throws java.lang.Exception
Deprecated.Launch the launcher.- Parameters:
args
- The application command-line arguments.- Returns:
- an integer exit code
- Throws:
java.lang.Exception
- If an error occurs.
-
-