|
xmlBlaster 2.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.ClassLoader java.security.SecureClassLoader java.net.URLClassLoader org.xmlBlaster.util.classloader.XmlBlasterClassLoader
public class XmlBlasterClassLoader
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
Field Summary | |
---|---|
private static java.util.logging.Logger |
log
|
private java.lang.String |
ME
|
private boolean |
useXmlBlasterClassloader
|
Constructor Summary | |
---|---|
XmlBlasterClassLoader(Global glob,
java.net.URL[] urls)
|
Method Summary | |
---|---|
void |
appendURL(java.net.URL url)
|
private void |
debugState(java.lang.String name)
Helper for debugging classpath. |
(package private) java.lang.String |
getURLPath()
|
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 |
Field Detail |
---|
private java.lang.String ME
private static java.util.logging.Logger log
private final boolean useXmlBlasterClassloader
Constructor Detail |
---|
public XmlBlasterClassLoader(Global glob, java.net.URL[] urls)
Method Detail |
---|
public java.lang.Class loadClass(java.lang.String name) throws java.lang.ClassNotFoundException
loadClass
in class java.lang.ClassLoader
java.lang.ClassNotFoundException
public void appendURL(java.net.URL url)
private void debugState(java.lang.String name)
java.lang.String getURLPath()
|
xmlBlaster 2.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |