public abstract class ModifiableClassLoaderRepository
extends java.lang.Object
implements javax.management.loading.ClassLoaderRepository
MX4JSystemKeys.
It must be a class, otherwise it opens up a security hole, as anyone can cast the MBeanServer's
ClassLoaderRepository down to this class and call addClassLoader or removeClassLoader
since, if this class is an interface, they must be public.| Constructor and Description |
|---|
ModifiableClassLoaderRepository() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
addClassLoader(java.lang.ClassLoader cl)
Adds, if does not already exist, the specified ClassLoader to this repository.
|
protected abstract void |
removeClassLoader(java.lang.ClassLoader cl)
Removes, if exists, the specified ClassLoader from this repository.
|
protected abstract void addClassLoader(java.lang.ClassLoader cl)
cl - The classloader to addremoveClassLoader(java.lang.ClassLoader)protected abstract void removeClassLoader(java.lang.ClassLoader cl)
cl - The classloader to removeaddClassLoader(java.lang.ClassLoader)