java.lang.Object
javax.management.loading.DefaultLoaderRepository
- All Implemented Interfaces:
- java.io.Serializable
- public class DefaultLoaderRepository
- extends java.lang.Object
- implements java.io.Serializable
This class provides static methods for loading classes from the MBean agent's
loader repository.
The implementation delegates all loadClass() 55 calls to
the loader repository initialized for this JVM. The
- Version:
- $Revision: 1.3 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
loaders
protected static java.util.Vector loaders
- List of classloaders added to the repository. This reference is
initialized to the corresponding loaders reference in the
LoaderRepository 55
class.
repository
private static org.jboss.mx.loading.LoaderRepository repository
- Reference to the actual classloader repository instance we
delegate to.
DefaultLoaderRepository
public DefaultLoaderRepository()
- Default constructor.
loadClass
public static java.lang.Class loadClass(java.lang.String className)
throws java.lang.ClassNotFoundException
loadClassWithout
public static java.lang.Class loadClassWithout(java.lang.ClassLoader loader,
java.lang.String className)
throws java.lang.ClassNotFoundException