javax.management.loading.ClassLoaderRepository
can be accessed (read-only).
Modifier and Type | Field and Description |
---|---|
private final ClassLoaderRepository |
Access | Constructor and Description |
---|---|
public | SecureClassLoaderRepository(ClassLoaderRepository
Unsecure clr)ClassLoaderRepository implementation
to wrap.Creates a new secure ClassLoaderRepository wrapping an unsecure implementation. |
Modifier and Type | Method and Description |
---|---|
public final Class | loadClass(String
The name of the class to be loaded. className)Implements javax. Load the given class name through the list of class loaders. |
public final Class | loadClassBefore(ClassLoader
The class loader at which to stop. May be null, in
which case this method is equivalent to loader, String loadClass(className) .The name of the class to be loaded. className)Implements javax. Load the given class name through the list of class loaders, stopping at the given one. |
public final Class | loadClassWithout(ClassLoader
The class loader to be excluded. May be null,
in which case this method is equivalent to loader, String loadClass(className) .The name of the class to be loaded. className)Implements javax. Load the given class name through the list of class loaders, excluding the given one. |
clr | back to summary |
---|---|
private final ClassLoaderRepository clr |
SecureClassLoaderRepository | back to summary |
---|---|
public SecureClassLoaderRepository(ClassLoaderRepository clr) Creates a new secure ClassLoaderRepository wrapping an unsecure implementation.
|
loadClass | back to summary |
---|---|
public final Class Implements javax. Doc from javax. Load the given class name through the list of class loaders.
Each ClassLoader in turn from the ClassLoaderRepository is
asked to load the class via its
|
loadClassBefore | back to summary |
---|---|
public final Class Implements javax. Doc from javax. Load the given class name through the list of class loaders,
stopping at the given one. Each ClassLoader in turn from the
ClassLoaderRepository is asked to load the class via its Typically this method is called from the
|
loadClassWithout | back to summary |
---|---|
public final Class Implements javax. Doc from javax. Load the given class name through the list of class loaders,
excluding the given one. Each ClassLoader in turn from the
ClassLoaderRepository, except Be aware that if a ClassLoader in the ClassLoaderRepository
calls this method from its
|