类 WarLauncher
- java.lang.Object
- org.springframework.boot.loader.Launcher
- org.springframework.boot.loader.ExecutableArchiveLauncher
- org.springframework.boot.loader.WarLauncher
public class WarLauncher extends ExecutableArchiveLauncher
Launcher
for WAR based archives. This launcher for standard WAR archives. Supports dependencies inWEB-INF/lib
as well asWEB-INF/lib-provided
, classes are loaded fromWEB-INF/classes
.
构造器概要
构造器 限定符 构造器 说明 WarLauncher()
protected
WarLauncher(Archive archive)
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 boolean
isNestedArchive(Archive.Entry entry)
Determine if the specifiedJarEntry
is a nested item that should be added to the classpath.static void
main(String[] args)
从类继承的方法 org.springframework.boot.loader.ExecutableArchiveLauncher
getArchive, getClassPathArchives, getMainClass, postProcessClassPathArchives
从类继承的方法 org.springframework.boot.loader.Launcher
createArchive, createClassLoader, createClassLoader, createMainMethodRunner, launch, launch
构造器详细资料
WarLauncher
public WarLauncher()
WarLauncher
protected WarLauncher(Archive archive)
方法详细资料
isNestedArchive
public boolean isNestedArchive(Archive.Entry entry)
从类复制的说明:ExecutableArchiveLauncher
Determine if the specifiedJarEntry
is a nested item that should be added to the classpath. The method is called once for each entry.- 指定者:
isNestedArchive
在类中ExecutableArchiveLauncher
- 参数:
entry
- the jar entry- 返回:
true
if the entry is a nested item (jar or folder)