| javax.management.loading.ClassLoaderRepository
All known Subclasses: org.jboss.mx.loading.LoaderRepository,
ClassLoaderRepository | public interface ClassLoaderRepository (Code) | | A classloader repository.
A loader repository per MBeanServer.
author: Adrian Brock. author: Juha Lindfors. version: $Revision: 57200 $ version: Revisions: version: 20020224 Juha Lindfors: version: version: - Updated to match JMX 1.2 specification.
version:
|
loadClass | Class loadClass(String className) throws ClassNotFoundException(Code) | | Loads a class from the repository. This method attempts to load the class
using all the classloader registered to the repository.
Parameters: className - the class to load the found class exception: ClassNotFoundException - when there is no such class |
loadClassBefore | Class loadClassBefore(ClassLoader stop, String className) throws ClassNotFoundException(Code) | | Loads a class from the repository, using the classloaders that were
registered before the given classloader.
Parameters: stop - consult all the classloaders registered before this onein an attempt to load a class Parameters: className - name of the class to load loaded class instance throws: ClassNotFoundException - if none of the consulted classloaders wereable to load the requested class |
|
|