public class SpringbootLauncher extends org.springframework.boot.loader.JarLauncher implements CliJarLauncher
CliJarLauncher.Type| Modifier and Type | Field and Description |
|---|---|
static String |
BOOT_CLASSPATH_INDEX_ATTRIBUTE |
| Constructor and Description |
|---|
SpringbootLauncher(org.springframework.boot.loader.archive.Archive archive) |
| Modifier and Type | Method and Description |
|---|---|
CliJarLauncher |
appJar(String appJar) |
CliJarLauncher |
cliJar(String cliJar) |
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() |
CliJarLauncher.Type |
getType() |
void |
launch(String[] args) |
SpringbootLauncher |
loadClasses() |
getClassPathIndex, isNestedArchive, isPostProcessingClassPathArchives, isSearchCandidate, maingetArchive, getClassPathArchivesIterator, isExploded, postProcessClassPathArchivespublic static final String BOOT_CLASSPATH_INDEX_ATTRIBUTE
public SpringbootLauncher(org.springframework.boot.loader.archive.Archive archive)
public String getOriginalMainClass()
public CliJarLauncher appJar(String appJar)
appJar in interface CliJarLauncherpublic CliJarLauncher.Type getType()
getType in interface CliJarLauncherpublic CliJarLauncher cliJar(String cliJar)
cliJar in interface CliJarLauncherpublic SpringbootLauncher loadClasses()
loadClasses in interface CliJarLauncherprotected String getMainClass()
getMainClass in class org.springframework.boot.loader.ExecutableArchiveLauncherpublic void launch(String[] args)
launch in interface CliJarLauncherlaunch 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 © 2021. All rights reserved.