Class JarTest
- 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
-
- test.de.iip_ecosphere.platform.services.spring.JarTest
-
public class JarTest extends de.iip_ecosphere.platform.services.spring.DescriptorUtils.AccessibleJarLauncherSimple program to test Spring-packaged jar files for contained classes.- Author:
- Holger Eichelberger, SSE
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJarTest(org.springframework.boot.loader.archive.Archive archive)Creates an instance of the test program.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)Executes the test program.-
Methods inherited from class de.iip_ecosphere.platform.services.spring.DescriptorUtils.AccessibleJarLauncher
createClassLoader
-
Methods inherited from class org.springframework.boot.loader.JarLauncher
getClassPathIndex, isNestedArchive, isPostProcessingClassPathArchives, isSearchCandidate
-
Methods inherited from class org.springframework.boot.loader.ExecutableArchiveLauncher
createClassLoader, getArchive, getClassPathArchivesIterator, getMainClass, isExploded, postProcessClassPathArchives
-
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.lang.ExceptionExecutes the test program.- Parameters:
args- command line arguments, first is the filename of the Spring JAR archive to load, second is the class to search for- Throws:
java.lang.Exception- any kind of exception if loading archive or class failed
-
-