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) |
getArchive, getClassPathArchives, getMainClass, postProcessClassPathArchives
createArchive, createClassLoader, createClassLoader, createMainMethodRunner, launch, launch
public WarLauncher()
protected WarLauncher(Archive archive)
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)Copyright © 2021 Pivotal Software, Inc.. All rights reserved.