org.codehaus.classworlds.uberjar.boot
Class Bootstrapper
java.lang.Object
org.codehaus.classworlds.uberjar.boot.Bootstrapper
public class Bootstrapper
extends java.lang.Object
Bootstrapping entry-point.
The
Bootstrapper
is to be used for standalone jars
which carry all dependency jars within them. The layout for
the dependency jar should be similar to:
myjar/
classworlds.conf
org/
codehaus/
classworlds/
boot/
protocol/
lib/
myapp.jar
depOne.jar
depTwo.jar
$Id: Bootstrapper.java 78 2004-07-01 13:59:13Z jvanzyl $
void | bootstrap() - Perform bootstrap.
|
protected ClassLoader | getInitialClassLoader() - Retrieve the initial bootstrapping
ClassLoader .
|
static void | main(String[] args) - Main entry-point.
|
LAUNCHER_CLASS_NAME
public static final String LAUNCHER_CLASS_NAME
Main classworlds entry class.
Bootstrapper
public Bootstrapper(String[] args)
throws Exception
Construct.
args
- Command-line arguments.
bootstrap
public void bootstrap()
throws Exception
Perform bootstrap.
getInitialClassLoader
protected ClassLoader getInitialClassLoader()
Retrieve the initial bootstrapping ClassLoader
.
main
public static void main(String[] args)
throws Exception
Main entry-point.
args
- Command-line arguments.