Package org.jibx.binding
Class Loader.NondelegatingLoader
- java.lang.Object
-
- java.lang.ClassLoader
-
- java.security.SecureClassLoader
-
- java.net.URLClassLoader
-
- org.jibx.binding.Loader
-
- org.jibx.binding.Loader.NondelegatingLoader
-
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
- Loader
public static class Loader.NondelegatingLoader extends Loader
Version of bind-on-demand loader which will not delegate handling of classes included in the binding definition. Somewhat dangerous to use, since it may result in loading multiple versions of the same class (with and without binding).
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jibx.binding.Loader
Loader.NondelegatingLoader
-
-
Constructor Summary
Constructors Constructor Description NondelegatingLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ClassloadClass(String name, boolean resolve)-
Methods inherited from class org.jibx.binding.Loader
findClass, getClassPaths, isBoundClass, loadBinding, loadFileBinding, loadResourceBinding, processBindings, reset
-
Methods inherited from class java.net.URLClassLoader
addURL, close, definePackage, findResource, findResources, getPermissions, getResourceAsStream, getURLs, newInstance, newInstance
-
Methods inherited from class java.security.SecureClassLoader
defineClass, defineClass
-
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, 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
-
-
-
-
Constructor Detail
-
NondelegatingLoader
public NondelegatingLoader() throws MalformedURLException- Throws:
MalformedURLException- URL Exception
-
-
Method Detail
-
loadClass
protected Class loadClass(String name, boolean resolve) throws ClassNotFoundException
- Overrides:
loadClassin classClassLoader- Throws:
ClassNotFoundException
-
-