public class Bootstrapper extends Object
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
Modifier and Type | Field and Description |
---|---|
static String |
LAUNCHER_CLASS_NAME
Main classworlds entry class.
|
Constructor and Description |
---|
Bootstrapper(String[] args)
Construct.
|
Modifier and Type | Method and Description |
---|---|
void |
bootstrap()
Perform bootstrap.
|
protected ClassLoader |
getInitialClassLoader()
Retrieve the initial bootstrapping
ClassLoader . |
static void |
main(String[] args)
Main entry-point.
|
public static final String LAUNCHER_CLASS_NAME
public static void main(String[] args) throws Exception
args
- Command-line arguments.Exception
- If an error occurs.protected ClassLoader getInitialClassLoader()
ClassLoader
.Copyright © 2002–2017 The Codehaus. All rights reserved.