|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.ClassLoader
org.apache.tools.ant.AntClassLoader
org.apache.tools.ant.util.SplitClassLoader
public final class SplitClassLoader
Specialized classloader for tasks that need finer grained control over which classes are to be loaded via Ant's classloader and which should not even if they are available.
| Constructor Summary | |
|---|---|
SplitClassLoader(java.lang.ClassLoader parent,
Path path,
Project project,
java.lang.String[] splitClasses)
|
|
| Method Summary | |
|---|---|
protected java.lang.Class |
loadClass(java.lang.String classname,
boolean resolve)
Loads a class with this class loader. |
| Methods inherited from class java.lang.ClassLoader |
|---|
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findResource, findSystemClass, getPackage, getPackages, getParent, 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, wait, wait, wait |
| Constructor Detail |
|---|
public SplitClassLoader(java.lang.ClassLoader parent,
Path path,
Project project,
java.lang.String[] splitClasses)
splitClasses - classes contained herin will not be loaded
via Ant's classloader| Method Detail |
|---|
protected java.lang.Class loadClass(java.lang.String classname,
boolean resolve)
throws java.lang.ClassNotFoundException
AntClassLoader
loadClass in class AntClassLoaderclassname - The name of the class to be loaded.
Must not be null.resolve - true if all classes upon which this class
depends are to be loaded.
java.lang.ClassNotFoundException - if the requested class does not exist
on the system classpath (when not in isolated mode) or this loader's
classpath.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||