当前页面:
在线文档首页 >
JBoss RULES 4.0.0.11754MR2 API 英文版文档
CompositePackageClassLoader (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档
org.drools.rule
Class CompositePackageClassLoader
java.lang.Object
java.lang.ClassLoader
org.drools.rule.CompositePackageClassLoader
public class CompositePackageClassLoader
- extends ClassLoader
Methods inherited from class java.lang.ClassLoader |
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findResource, findResources, 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 |
CompositePackageClassLoader
public CompositePackageClassLoader(ClassLoader parentClassLoader)
addClassLoader
public void addClassLoader(ClassLoader classLoader)
removeClassLoader
public void removeClassLoader(ClassLoader classLoader)
loadClass
protected Class loadClass(String name,
boolean resolve)
throws ClassNotFoundException
- Javadocs recommend that this method not be overloaded. We overload this so that we can prioritise the fastFindClass
over method calls to parent.loadClass(name, false); and c = findBootstrapClass0(name); which the default implementation
would first - hence why we call it "fastFindClass" instead of standard findClass, this indicates that we give it a
higher priority than normal.
- Overrides:
loadClass
in class ClassLoader
- Throws:
ClassNotFoundException
findClass
protected Class findClass(String name)
throws ClassNotFoundException
- Overrides:
findClass
in class ClassLoader
- Throws:
ClassNotFoundException
Copyright © 2001-2007
JBoss Inc.. All Rights Reserved.