public class JarLauncher extends ExecutableArchiveLauncher
Launcher
for JAR based archives. This launcher assumes that dependency jars are
included inside a /BOOT-INF/lib
directory and that application classes are
included inside a /BOOT-INF/classes
directory.Modifier | Constructor and Description |
---|---|
|
JarLauncher() |
protected |
JarLauncher(Archive archive) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isNestedArchive(Archive.Entry entry)
Determine if the specified
JarEntry is a nested item that should be added
to the classpath. |
static void |
main(String[] args) |
getArchive, getClassPathArchives, getMainClass, postProcessClassPathArchives
createArchive, createClassLoader, createClassLoader, createMainMethodRunner, launch, launch
public JarLauncher()
protected JarLauncher(Archive archive)
protected boolean isNestedArchive(Archive.Entry entry)
ExecutableArchiveLauncher
JarEntry
is a nested item that should be added
to the classpath. The method is called once for each entry.isNestedArchive
in class ExecutableArchiveLauncher
entry
- the jar entrytrue
if the entry is a nested item (jar or folder)Copyright © 2017 Pivotal Software, Inc.. All rights reserved.