public class SpringbootLauncher
extends org.springframework.boot.loader.JarLauncher
| Constructor and Description |
|---|
SpringbootLauncher(org.springframework.boot.loader.archive.Archive archive,
String cliJarPath,
String cliMainClass) |
| 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) |
getClassPathIndex, isNestedArchive, isPostProcessingClassPathArchives, isSearchCandidate, maingetArchive, getClassPathArchivesIterator, isExploded, postProcessClassPathArchivespublic String getOriginalMainClass()
protected String getMainClass()
getMainClass in class org.springframework.boot.loader.ExecutableArchiveLauncherpublic void launch(String[] args) throws Exception
launch in class org.springframework.boot.loader.LauncherExceptionprotected 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.