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
.Constructor and Description |
---|
WarLauncher() |
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, postProcessClassPathArchives
createArchive, createClassLoader, createMainMethodRunner, launch, launch
public 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)public static void main(String[] args)
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.