Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.management.loading
Class DefaultLoaderRepository  view DefaultLoaderRepository download DefaultLoaderRepository.java

java.lang.Object
  extended byjavax.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 $

Field Summary
protected static java.util.Vector loaders
          List of classloaders added to the repository.
private static org.jboss.mx.loading.LoaderRepository repository
          Reference to the actual classloader repository instance we delegate to.
 
Constructor Summary
DefaultLoaderRepository()
          Default constructor.
 
Method Summary
static java.lang.Class loadClass(java.lang.String className)
           
static java.lang.Class loadClassWithout(java.lang.ClassLoader loader, java.lang.String className)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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.

Constructor Detail

DefaultLoaderRepository

public DefaultLoaderRepository()
Default constructor.

Method Detail

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