|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.ClassLoader
edu.rice.cs.plt.reflect.AbstractClassLoader
public abstract class AbstractClassLoader
A class loader that provides a helper method definePackageForClass.
| Constructor Summary | |
|---|---|
protected |
AbstractClassLoader()
Creates a new class loader using the ClassLoader returned by the method getSystemClassLoader() as the parent class loader. |
protected |
AbstractClassLoader(ClassLoader parent)
Creates a new class loader using the specified parent class loader for delegation. |
| Method Summary | |
|---|---|
protected Package |
definePackageForClass(String className)
Defines a package for a class, unless it has been defined already. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractClassLoader()
getSystemClassLoader() as the parent class loader.
If there is a security manager, its checkCreateClassLoader method is invoked. This may result in
a security exception.
SecurityException - If a security manager exists and its
checkCreateClassLoader method doesn't allow creation
of a new class loader.protected AbstractClassLoader(ClassLoader parent)
If there is a security manager, its checkCreateClassLoader method is invoked. This may result in
a security exception.
parent - The parent class loader
SecurityException - If a security manager exists and its
checkCreateClassLoader method doesn't allow creation
of a new class loader.| Method Detail |
|---|
protected Package definePackageForClass(String className)
className - the name of the class that is being loaded
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||