类 JarLauncher
- java.lang.Object
 - org.springframework.boot.loader.Launcher
 - org.springframework.boot.loader.ExecutableArchiveLauncher
 - org.springframework.boot.loader.JarLauncher
 
public class JarLauncher extends ExecutableArchiveLauncher
Launcherfor JAR based archives. This launcher assumes that dependency jars are included inside a/BOOT-INF/libdirectory and that application classes are included inside a/BOOT-INF/classesdirectory.
构造器概要
构造器 限定符 构造器 说明 JarLauncher()protectedJarLauncher(Archive archive)
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 protected 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
构造器详细资料
JarLauncher
public JarLauncher()
JarLauncher
protected JarLauncher(Archive archive)
方法详细资料
isNestedArchive
protected 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)