public class WarLauncher extends ExecutableArchiveLauncher
Launcher for WAR based archives. This launcher for standard WAR archives.
Supports dependencies in WEB-INF/lib as well as WEB-INF/lib-provided,
classes are loaded from WEB-INF/classes.| Modifier | Constructor and Description |
|---|---|
|
WarLauncher() |
protected |
WarLauncher(Archive archive) |
| Modifier and Type | Method and Description |
|---|---|
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) |
createClassLoader, getArchive, getClassPathArchives, getMainClass, postProcessClassPathArchivescreateArchive, createClassLoader, createMainMethodRunner, launch, launchpublic WarLauncher()
protected WarLauncher(Archive archive)
public boolean isNestedArchive(Archive.Entry entry)
ExecutableArchiveLauncherJarEntry is a nested item that should be added
to the classpath. The method is called once for each entry.isNestedArchive in class ExecutableArchiveLauncherentry - the jar entrytrue if the entry is a nested item (jar or folder)public static void main(String[] args)
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.