站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 3.2.7 jmx API Documentation 英文版文档

DefaultLoaderRepository (JBoss/JMX API) - JBoss 3.2.7 jmx API Documentation 英文版文档


javax.management.loading
Class DefaultLoaderRepository

java.lang.Object
  extended byjavax.management.loading.DefaultLoaderRepository
All Implemented Interfaces:
Serializable

public class DefaultLoaderRepository
extends Object
implements Serializable

This class provides static methods for loading classes from the MBean agent's loader repository.

The implementation delegates all loadClass() calls to the loader repository initialized for this JVM. The

Version:
$Revision: 1.3.4.1 $
Author:
Juha Lindfors.
See Also:
LoaderRepository, BasicLoaderRepository, Serialized Form

Field Summary
protected static Vector loaders
          List of classloaders added to the repository.
 
Constructor Summary
DefaultLoaderRepository()
          Default constructor.
 
Method Summary
static Class loadClass(String className)
           
static Class loadClassWithout(ClassLoader loader, 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 Vector loaders
List of classloaders added to the repository. This reference is initialized to the corresponding loaders reference in the LoaderRepository class.

Constructor Detail

DefaultLoaderRepository

public DefaultLoaderRepository()
Default constructor.

Method Detail

loadClass

public static Class loadClass(String className)
                       throws ClassNotFoundException
Throws:
ClassNotFoundException

loadClassWithout

public static Class loadClassWithout(ClassLoader loader,
                                     String className)
                              throws ClassNotFoundException
Throws:
ClassNotFoundException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.