public class JarDependency extends org.springframework.boot.loader.JarLauncher implements Dependency
MANIFEST_CLASSPATH, RUNNER_CLASS| Constructor and Description |
|---|
JarDependency(List<URL> classpath,
org.springframework.boot.loader.archive.Archive archive,
String name,
String mainClass) |
| Modifier and Type | Method and Description |
|---|---|
protected ClassLoader |
createClassLoader(URL[] urls)
Create a classloader for the specified URLs.
|
void |
start(String[] args) |
void |
stop() |
getArchive, getClassPathArchives, getMainClass, postProcessClassPathArchivespublic void start(String[] args) throws Exception
start in interface Dependencyargs - to pass to the spring-boot appException - if an error occurs during the spring-boot app startupprotected ClassLoader createClassLoader(URL[] urls) throws Exception
createClassLoader in class org.springframework.boot.loader.Launcherurls - the URLsException - if the classloader cannot be createdCopyright © 2019. All rights reserved.