org.jibx.binding
Class Loader.NondelegatingLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by java.security.SecureClassLoader
          extended by java.net.URLClassLoader
              extended by org.jibx.binding.Loader
                  extended by org.jibx.binding.Loader.NondelegatingLoader
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
Loader.NondelegatingLoader()
           
 
Method Summary
protected  java.lang.Class loadClass(java.lang.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, definePackage, findResource, findResources, getPermissions, 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, findLibrary, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Loader.NondelegatingLoader

public Loader.NondelegatingLoader()
                           throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException
Method Detail

loadClass

protected java.lang.Class loadClass(java.lang.String name,
                                    boolean resolve)
                             throws java.lang.ClassNotFoundException
Overrides:
loadClass in class java.lang.ClassLoader
Throws:
java.lang.ClassNotFoundException


Project Web Site