public class JarClassLoader extends java.net.URLClassLoader
| Constructor and Description |
|---|
JarClassLoader(java.net.URL[] url)
Constructor (currently we only support url points to jar file rather than
the directory
|
| Modifier and Type | Method and Description |
|---|---|
void |
loadJarFiles()
This method will load classes in the jar files into jvm
|
addURL, close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstanceclearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getClassLoadingLock, getPackage, getPackages, getParent, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, registerAsParallelCapable, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSignerspublic JarClassLoader(java.net.URL[] url)
url - The url array which point jar filespublic void loadJarFiles() throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOExceptionjava.lang.ClassNotFoundException