Package org.springframework.boot.loader
Class WarLauncher
- java.lang.Object
- org.springframework.boot.loader.Launcher
- org.springframework.boot.loader.ExecutableArchiveLauncher
- org.springframework.boot.loader.WarLauncher
public class WarLauncher extends ExecutableArchiveLauncher
Launcherfor WAR based archives. This launcher for standard WAR archives. Supports dependencies inWEB-INF/libas well asWEB-INF/lib-provided, classes are loaded fromWEB-INF/classes.
Constructor Summary
Constructors Modifier Constructor Description WarLauncher()protectedWarLauncher(Archive archive)
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisNestedArchive(Archive.Entry entry)Determine if the specifiedJarEntryis a nested item that should be added to the classpath.static voidmain(String[] args)Methods inherited from class org.springframework.boot.loader.ExecutableArchiveLauncher
getArchive, getClassPathArchives, getMainClass, postProcessClassPathArchives
Methods inherited from class org.springframework.boot.loader.Launcher
createArchive, createClassLoader, createClassLoader, createMainMethodRunner, launch, launch
Constructor Detail
WarLauncher
public WarLauncher()
WarLauncher
protected WarLauncher(Archive archive)
Method Detail
isNestedArchive
public boolean isNestedArchive(Archive.Entry entry)
Description copied from class:ExecutableArchiveLauncherDetermine if the specifiedJarEntryis a nested item that should be added to the classpath. The method is called once for each entry.- Specified by:
isNestedArchivein classExecutableArchiveLauncher- Parameters:
entry- the jar entry- Returns:
trueif the entry is a nested item (jar or folder)