类 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.
构造器概要
构造器 限定符 构造器 说明 WarLauncher()protectedWarLauncher(Archive archive)
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanisNestedArchive(Archive.Entry entry)Determine if the specifiedJarEntryis a nested item that should be added to the classpath.static voidmain(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)
从类复制的说明:ExecutableArchiveLauncherDetermine if the specifiedJarEntryis a nested item that should be added to the classpath. The method is called once for each entry.- 指定者:
 isNestedArchive在类中ExecutableArchiveLauncher- 参数:
 entry- the jar entry- 返回:
 trueif the entry is a nested item (jar or folder)