|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jdmk.ClassLoaderRepositorySupport
MBeanServer.getClassLoaderRepository()
instead.
public final class ClassLoaderRepositorySupport
This class keeps the list of Class Loaders registered in the MBean Server. It provides the necessary methods to load classes using the registered Class Loaders. This class is provided uniquely for compatibility with Java DMK 5.0.
Constructor Summary | |
---|---|
ClassLoaderRepositorySupport()
Deprecated. |
Method Summary | |
---|---|
void |
addClassLoader(ClassLoader loader)
Deprecated. Add an anonymous ClassLoader to the repository. |
void |
addClassLoader(ObjectName name,
ClassLoader loader)
Deprecated. Add a named ClassLoader to the repository. |
ClassLoader |
getClassLoader(ObjectName name)
Deprecated. Get a named ClassLoader from the repository. |
Class |
loadClass(String className)
Deprecated. |
Class |
loadClassBefore(ClassLoader stop,
String className)
Deprecated. |
Class |
loadClassWithout(ClassLoader without,
String className)
Deprecated. |
void |
removeClassLoader(ClassLoader loader)
Deprecated. Remove the specified ClassLoader to the repository. |
void |
removeClassLoader(ObjectName name)
Deprecated. Remove a named ClassLoader from the repository. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClassLoaderRepositorySupport()
Method Detail |
---|
public final Class loadClass(String className) throws ClassNotFoundException
loadClass
in interface ClassLoaderRepository
ClassNotFoundException
public final Class loadClassWithout(ClassLoader without, String className) throws ClassNotFoundException
loadClassWithout
in interface ClassLoaderRepository
ClassNotFoundException
public final Class loadClassBefore(ClassLoader stop, String className) throws ClassNotFoundException
loadClassBefore
in interface ClassLoaderRepository
ClassNotFoundException
public final void addClassLoader(ClassLoader loader)
ModifiableClassLoaderRepository
addClassLoader
in interface ModifiableClassLoaderRepository
public final void removeClassLoader(ClassLoader loader)
ModifiableClassLoaderRepository
removeClassLoader
in interface ModifiableClassLoaderRepository
public final void addClassLoader(ObjectName name, ClassLoader loader)
ModifiableClassLoaderRepository
addClassLoader
in interface ModifiableClassLoaderRepository
public final void removeClassLoader(ObjectName name)
ModifiableClassLoaderRepository
removeClassLoader
in interface ModifiableClassLoaderRepository
public final ClassLoader getClassLoader(ObjectName name)
ModifiableClassLoaderRepository
getClassLoader
in interface ModifiableClassLoaderRepository
|
Open Source build 02 opendmk-1.0-b02 2007.10.01_19:17:46_MEST |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |