public class LauncherSpringboot extends org.springframework.boot.loader.JarLauncher implements LauncherCliJar
LauncherCliJar.LauncherBuilder| Modifier and Type | Field and Description |
|---|---|
static String |
BOOT_CLASSPATH_INDEX_ATTRIBUTE |
| Constructor and Description |
|---|
LauncherSpringboot(org.springframework.boot.loader.archive.Archive archive,
String appJar,
String cliJarPath) |
| Modifier and Type | Method and Description |
|---|---|
protected ClassLoader |
createClassLoader(Iterator<org.springframework.boot.loader.archive.Archive> archives) |
protected org.springframework.boot.loader.MainMethodRunner |
createMainMethodRunner(String mainClass,
String[] args,
ClassLoader classLoader) |
protected String |
getMainClass() |
String |
getOriginalMainClass() |
void |
launch(String[] args) |
LauncherSpringboot |
loadClasses() |
getClassPathIndex, isNestedArchive, isPostProcessingClassPathArchives, isSearchCandidate, maingetArchive, getClassPathArchivesIterator, isExploded, postProcessClassPathArchivescreateArchive, createClassLoader, createClassLoader, getClassPathArchives, launchclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuilderpublic static final String BOOT_CLASSPATH_INDEX_ATTRIBUTE
public String getOriginalMainClass()
public LauncherSpringboot loadClasses()
loadClasses in interface LauncherCliJarprotected String getMainClass()
getMainClass in class org.springframework.boot.loader.ExecutableArchiveLauncherpublic void launch(String[] args)
launch in interface LauncherCliJarlaunch in class org.springframework.boot.loader.Launcherprotected org.springframework.boot.loader.MainMethodRunner createMainMethodRunner(String mainClass, String[] args, ClassLoader classLoader)
createMainMethodRunner in class org.springframework.boot.loader.Launcherprotected ClassLoader createClassLoader(Iterator<org.springframework.boot.loader.archive.Archive> archives) throws Exception
createClassLoader in class org.springframework.boot.loader.ExecutableArchiveLauncherExceptionCopyright © 2022. All rights reserved.