xmlBlaster 2.2.0 client API

org.xmlBlaster.util.classloader
Class XmlBlasterClassLoader

java.lang.Object
  extended by java.lang.ClassLoader
      extended by java.security.SecureClassLoader
          extended by java.net.URLClassLoader
              extended by org.xmlBlaster.util.classloader.XmlBlasterClassLoader

public class XmlBlasterClassLoader
extends java.net.URLClassLoader

This class loader changes the loading precedence of the JVM to prefer locally found classes and only if not found delegate to the JVM class loader


Constructor Summary
XmlBlasterClassLoader(Global glob, java.net.URL[] urls)
           
 
Method Summary
 void appendURL(java.net.URL url)
           
 java.lang.Class loadClass(java.lang.String name)
           
 
Methods inherited from class java.net.URLClassLoader
addURL, definePackage, findClass, 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

XmlBlasterClassLoader

public XmlBlasterClassLoader(Global glob,
                             java.net.URL[] urls)
Method Detail

loadClass

public java.lang.Class loadClass(java.lang.String name)
                          throws java.lang.ClassNotFoundException
Overrides:
loadClass in class java.lang.ClassLoader
Throws:
java.lang.ClassNotFoundException

appendURL

public void appendURL(java.net.URL url)

xmlBlaster 2.2.0 client API

Copyright © 1999-2014 The xmlBlaster.org contributers.