public class AppJarLauncher
extends org.springframework.boot.loader.JarLauncher
JarLauncher that supports launching an application archive.
Also, it restricts the classloader of the launched application to the contents
of the uber-jar and the extension classloader of the JVM.| Constructor and Description |
|---|
AppJarLauncher(org.springframework.boot.loader.archive.Archive archive) |
| Modifier and Type | Method and Description |
|---|---|
protected ClassLoader |
createClassLoader(URL[] urls) |
void |
launch(String[] args) |
protected void |
launch(String[] args,
String mainClass,
ClassLoader classLoader) |
isNestedArchive, main, postProcessClassPathArchivesgetArchive, getClassPathArchives, getMainClasspublic AppJarLauncher(org.springframework.boot.loader.archive.Archive archive)
public void launch(String[] args)
launch in class org.springframework.boot.loader.Launcherprotected void launch(String[] args, String mainClass, ClassLoader classLoader) throws Exception
launch in class org.springframework.boot.loader.LauncherExceptionprotected ClassLoader createClassLoader(URL[] urls) throws Exception
createClassLoader in class org.springframework.boot.loader.ExecutableArchiveLauncherExceptionCopyright © 2016 Pivotal Software, Inc.. All rights reserved.