Package jadex.micro
Class MicroClassReader.DummyClassLoader
- java.lang.Object
- 
- java.lang.ClassLoader
- 
- java.security.SecureClassLoader
- 
- java.net.URLClassLoader
- 
- jadex.micro.MicroClassReader.DummyClassLoader
 
 
 
 
- 
- All Implemented Interfaces:
- java.io.Closeable,- java.lang.AutoCloseable
 - Enclosing class:
- MicroClassReader
 
 public static class MicroClassReader.DummyClassLoader extends java.net.URLClassLoader
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.ClassLoaderorig
 - 
Constructor SummaryConstructors Constructor Description DummyClassLoader(java.net.URL[] urls, java.lang.ClassLoader parent, java.lang.ClassLoader orig)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ClassLoadergetOriginal()Get the orig.protected java.lang.Class<?>loadClass(java.lang.String name, boolean resolve)This method implements a fallback to the library service baseclassloader if a) a library service classloader is used and b) the class was not found in the DummyClassLoader This still limits the scope of loadable classes to avoid accidental loading of non-enhanced user code while allowing Jadex classesto be in the baseclassloader instead of the system classloader.voidsetOriginal(java.lang.ClassLoader orig)Set the orig.java.lang.StringtoString()- 
Methods inherited from class java.net.URLClassLoaderaddURL, close, definePackage, findClass, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstance
 - 
Methods inherited from class java.lang.ClassLoaderclearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResource, findSystemClass, getClassLoadingLock, getDefinedPackage, getDefinedPackages, getName, getPackage, getPackages, getParent, getPlatformClassLoader, getResource, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, getUnnamedModule, isRegisteredAsParallelCapable, loadClass, registerAsParallelCapable, resolveClass, resources, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
 
- 
 
- 
- 
- 
Method Detail- 
getOriginalpublic java.lang.ClassLoader getOriginal() Get the orig.- Returns:
- The orig.
 
 - 
setOriginalpublic void setOriginal(java.lang.ClassLoader orig) Set the orig.- Parameters:
- orig- The orig to set.
 
 - 
loadClassprotected java.lang.Class<?> loadClass(java.lang.String name, boolean resolve) throws java.lang.ClassNotFoundExceptionThis method implements a fallback to the library service baseclassloader if a) a library service classloader is used and b) the class was not found in the DummyClassLoader This still limits the scope of loadable classes to avoid accidental loading of non-enhanced user code while allowing Jadex classesto be in the baseclassloader instead of the system classloader.- Overrides:
- loadClassin class- java.lang.ClassLoader
- Throws:
- java.lang.ClassNotFoundException
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-