com.caucho.jmx
Class ClassLoaderRepositoryImpl

java.lang.Object
  extended by com.caucho.jmx.ClassLoaderRepositoryImpl
All Implemented Interfaces:
javax.management.loading.ClassLoaderRepository

public class ClassLoaderRepositoryImpl
extends java.lang.Object
implements javax.management.loading.ClassLoaderRepository

Resin implementation for a class loader repository.


Constructor Summary
ClassLoaderRepositoryImpl()
           
 
Method Summary
 java.lang.Class loadClass(java.lang.String className)
          Loads a class from the repository
 java.lang.Class loadClassBefore(java.lang.ClassLoader stop, java.lang.String className)
          Loads a class from the repository, stopping at a given one
 java.lang.Class loadClassWithout(java.lang.ClassLoader exclude, java.lang.String className)
          Loads a class from the repository, excluding a given one
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassLoaderRepositoryImpl

public ClassLoaderRepositoryImpl()
Method Detail

loadClass

public java.lang.Class loadClass(java.lang.String className)
                          throws java.lang.ClassNotFoundException
Loads a class from the repository

Specified by:
loadClass in interface javax.management.loading.ClassLoaderRepository
Throws:
java.lang.ClassNotFoundException

loadClassBefore

public java.lang.Class loadClassBefore(java.lang.ClassLoader stop,
                                       java.lang.String className)
                                throws java.lang.ClassNotFoundException
Loads a class from the repository, stopping at a given one

Specified by:
loadClassBefore in interface javax.management.loading.ClassLoaderRepository
Throws:
java.lang.ClassNotFoundException

loadClassWithout

public java.lang.Class loadClassWithout(java.lang.ClassLoader exclude,
                                        java.lang.String className)
                                 throws java.lang.ClassNotFoundException
Loads a class from the repository, excluding a given one

Specified by:
loadClassWithout in interface javax.management.loading.ClassLoaderRepository
Throws:
java.lang.ClassNotFoundException