Class DescriptorUtils.AccessibleJarLauncher
- java.lang.Object
-
- org.springframework.boot.loader.Launcher
-
- org.springframework.boot.loader.ExecutableArchiveLauncher
-
- org.springframework.boot.loader.JarLauncher
-
- de.iip_ecosphere.platform.services.spring.DescriptorUtils.AccessibleJarLauncher
-
- Enclosing class:
- DescriptorUtils
public static class DescriptorUtils.AccessibleJarLauncher extends org.springframework.boot.loader.JarLauncher
-
-
Constructor Summary
Constructors Constructor Description AccessibleJarLauncher(org.springframework.boot.loader.archive.Archive archive)Creates an instance of the test program.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ClassLoadercreateClassLoader()Creates a Spring class loader via the JarLauncher setup for the archive passed in to this class.-
Methods inherited from class org.springframework.boot.loader.JarLauncher
getClassPathIndex, isNestedArchive, isPostProcessingClassPathArchives, isSearchCandidate, main
-
Methods inherited from class org.springframework.boot.loader.ExecutableArchiveLauncher
createClassLoader, getArchive, getClassPathArchivesIterator, getMainClass, isExploded, postProcessClassPathArchives
-
-
-
-
Method Detail
-
createClassLoader
public java.lang.ClassLoader createClassLoader() throws java.lang.ExceptionCreates a Spring class loader via the JarLauncher setup for the archive passed in to this class.- Returns:
- the classloader
- Throws:
java.lang.Exception- any kind of exception if loading the archive or constructing a class loader failed
-
-