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.BOOT_CLASSPATH_INDEX_ATTRIBUTE| Modifier | Constructor and Description |
|---|---|
|
WarLauncher() |
protected |
WarLauncher(Archive archive) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isNestedArchive(Archive.Entry entry)
Determine if the specified entry is a nested item that should be added to the
classpath.
|
protected boolean |
isPostProcessingClassPathArchives()
Return if post processing needs to be applied to the archives.
|
protected boolean |
isSearchCandidate(Archive.Entry entry)
Determine if the specified entry is a candidate for further searching.
|
static void |
main(java.lang.String[] args) |
createClassLoader, getArchive, getClassPathArchivesIterator, getClassPathIndex, getMainClass, isExploded, postProcessClassPathArchivescreateArchive, createClassLoader, createClassLoader, createMainMethodRunner, getClassPathArchives, launch, launchpublic WarLauncher()
protected WarLauncher(Archive archive)
protected boolean isPostProcessingClassPathArchives()
ExecutableArchiveLaunchertrue, but subclasses that don't override
ExecutableArchiveLauncher.postProcessClassPathArchives(List) should provide an implementation that
returns false.isPostProcessingClassPathArchives in class ExecutableArchiveLauncherExecutableArchiveLauncher.postProcessClassPathArchives(List) method is implementedprotected boolean isSearchCandidate(Archive.Entry entry)
ExecutableArchiveLauncherisSearchCandidate in class ExecutableArchiveLauncherentry - the entry to checktrue if the entry is a candidate for further searchingpublic boolean isNestedArchive(Archive.Entry entry)
ExecutableArchiveLauncherisNestedArchive in class ExecutableArchiveLauncherentry - the entry to checktrue if the entry is a nested item (jar or directory)public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception