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 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 ExecutableArchiveLauncher
createClassLoader, getArchive, getClassPathUrls, getMainClass, isSearchedDirectoryMethods inherited from class 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
-