public class JarTest
extends org.springframework.boot.loader.JarLauncher
| Modifier | Constructor and Description |
|---|---|
protected |
JarTest(org.springframework.boot.loader.archive.Archive archive)
Creates an instance of the test program.
|
| Modifier and Type | Method and Description |
|---|---|
private ClassLoader |
createClassLoader()
Creates a Spring class loader via the JarLauncher setup for the archive passed in to this class.
|
static void |
main(String[] args)
Executes the test program.
|
getClassPathIndex, isNestedArchive, isPostProcessingClassPathArchives, isSearchCandidatecreateClassLoader, getArchive, getClassPathArchivesIterator, getMainClass, isExploded, postProcessClassPathArchivesprotected JarTest(org.springframework.boot.loader.archive.Archive archive)
archive - the JAR archive to loadprivate ClassLoader createClassLoader() throws Exception
Exception - any kind of exception if loading the archive or constructing a class loader failedCopyright © 2022. All rights reserved.