xmlBlaster 1.6.2 API

org.xmlBlaster.util.classloader
Class PluginClassLoader

java.lang.Object
  extended byjava.lang.ClassLoader
      extended byjava.security.SecureClassLoader
          extended byjava.net.URLClassLoader
              extended byorg.xmlBlaster.util.classloader.PluginClassLoader

public class PluginClassLoader
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


Nested Class Summary
 
Nested classes inherited from class java.lang.ClassLoader
 
Field Summary
private static java.util.logging.Logger log
           
private  java.lang.String pluginName
           
private  java.lang.String pluginPackage
           
 
Fields inherited from class java.net.URLClassLoader
 
Fields inherited from class java.security.SecureClassLoader
 
Fields inherited from class java.lang.ClassLoader
 
Constructor Summary
PluginClassLoader(Global glob, java.net.URL[] urls, PluginInfo pluginInfo)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, 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
 

Field Detail

pluginName

private final java.lang.String pluginName

pluginPackage

private java.lang.String pluginPackage

log

private static java.util.logging.Logger log
Constructor Detail

PluginClassLoader

public PluginClassLoader(Global glob,
                         java.net.URL[] urls,
                         PluginInfo pluginInfo)
Method Detail

loadClass

public java.lang.Class loadClass(java.lang.String name)
                          throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException

xmlBlaster 1.6.2 API

Copyright © 1999-2007 The xmlBlaster.org contributers.