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
-
Field Summary
Fields inherited from class org.springframework.boot.loader.launch.Launcher
BOOT_CLASSPATH_INDEX_ATTRIBUTE, classPathIndex, DEFAULT_CLASSPATH_INDEX_FILE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringReturn the path prefix for relevant entries in the archive.protected booleanstatic voidMethods inherited from class org.springframework.boot.loader.launch.ExecutableArchiveLauncher
createClassLoader, getArchive, getClassPathUrls, getMainClass, isSearchedDirectoryMethods inherited from class org.springframework.boot.loader.launch.Launcher
isExploded, isIncludedOnClassPath, isIncludedOnClassPathAndNotIndexed, launch, launch
-
Constructor Details
-
WarLauncher
-
WarLauncher
-
-
Method Details
-
getEntryPathPrefix
Description copied from class:LauncherReturn the path prefix for relevant entries in the archive.- Overrides:
getEntryPathPrefixin classLauncher- Returns:
- the entry path prefix
-
isLibraryFileOrClassesDirectory
- Overrides:
isLibraryFileOrClassesDirectoryin classLauncher
-
main
-