Class WarLauncher
java.lang.Object
org.springframework.boot.loader.launch.Launcher
org.springframework.boot.loader.launch.ExecutableArchiveLauncher
org.springframework.boot.loader.launch.WarLauncher
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
.- Since:
- 3.2.0
- Author:
- Phillip Webb, Andy Wilkinson, Scott Frederick
-
Field Summary
Fields inherited from class org.springframework.boot.loader.launch.Launcher
BOOT_CLASSPATH_INDEX_ATTRIBUTE, classPathIndex, DEFAULT_CLASSPATH_INDEX_FILE_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
Return the path prefix for relevant entries in the archive.protected boolean
static void
Methods inherited from class org.springframework.boot.loader.launch.ExecutableArchiveLauncher
createClassLoader, getArchive, getClassPathUrls, getMainClass, isSearchedDirectory
Methods inherited from class org.springframework.boot.loader.launch.Launcher
isExploded, isIncludedOnClassPath, isIncludedOnClassPathAndNotIndexed, launch, launch
-
Constructor Details
-
Method Details
-
getEntryPathPrefix
Description copied from class:Launcher
Return the path prefix for relevant entries in the archive.- Overrides:
getEntryPathPrefix
in classLauncher
- Returns:
- the entry path prefix
-
isLibraryFileOrClassesDirectory
- Overrides:
isLibraryFileOrClassesDirectory
in classLauncher
-
main
- Throws:
Exception
-