public class Bootstrap extends Object
| Constructor and Description |
|---|
Bootstrap() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addClassPathEntries() |
protected void |
addFileUrl(File file)
Add a given file or directory to the list of URLs.
|
protected void |
addJarFileUrls(File root)
Add JAR files found in the given directory to the list of URLs.
|
protected String |
getClassToLoad() |
protected String |
getMethodToInvoke() |
protected void |
loadClass(String[] args) |
static void |
main(String[] args) |
protected static final String ROOT
public static void main(String[] args)
protected final void loadClass(String[] args)
protected void addClassPathEntries()
throws MalformedURLException
MalformedURLExceptionprotected final void addFileUrl(File file) throws MalformedURLException
file - the directory to recursively search for JAR files.MalformedURLException - If a provided JAR file URL is malformedprotected final void addJarFileUrls(File root) throws MalformedURLException
root - the directory to recursively search for JAR files.MalformedURLException - If a provided JAR file URL is malformedprotected String getClassToLoad()
protected String getMethodToInvoke()
Copyright © 2018 WSO2 Inc. All rights reserved.