FileDocCategorySizeDatePackage
ModifiableClassLoaderRepository.javaAPI DocJava SE 5 API1410Fri Aug 26 14:55:00 BST 2005com.sun.jmx.mbeanserver

ModifiableClassLoaderRepository

public interface ModifiableClassLoaderRepository implements ClassLoaderRepository
This interface keeps the list of Class Loaders registered in the MBean Server. It provides the necessary methods to load classes using the registered Class Loaders, and to add/remove class loaders from the list.
since
1.5
since.unbundled
JMX RI 1.2

Fields Summary
Constructors Summary
Methods Summary
public voidaddClassLoader(java.lang.ClassLoader loader)
Add an anonymous ClassLoader to the repository.

public voidaddClassLoader(javax.management.ObjectName name, java.lang.ClassLoader loader)
Add a named ClassLoader to the repository.

public java.lang.ClassLoadergetClassLoader(javax.management.ObjectName name)
Get a named ClassLoader from the repository.

public voidremoveClassLoader(java.lang.ClassLoader loader)
Remove the specified ClassLoader to the repository. The class loader may or may not be anonymous.

public voidremoveClassLoader(javax.management.ObjectName name)
Remove a named ClassLoader from the repository.