|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A classloader repository.
A loader repository per MBeanServer.
Revisions:
20020224 Juha Lindfors:
Method Summary | |
Class |
loadClass(String className)
Loads a class from the repository. |
Class |
loadClassBefore(ClassLoader stop,
String className)
Loads a class from the repository, using the classloaders that were registered before the given classloader. |
Class |
loadClassWithout(ClassLoader loader,
String className)
Loads a class from the repository, excluding the given classloader. |
Method Detail |
public Class loadClass(String className) throws ClassNotFoundException
className
- the class to load
ClassNotFoundException
- when there is no such classpublic Class loadClassWithout(ClassLoader loader, String className) throws ClassNotFoundException
loader
- the classloader to excludeclassName
- the class to load
ClassNotFoundException
- when there is no such classpublic Class loadClassBefore(ClassLoader stop, String className) throws ClassNotFoundException
stop
- consult all the classloaders registered before this one
in an attempt to load a classclassName
- name of the class to load
ClassNotFoundException
- if none of the consulted classloaders were
able to load the requested class
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |