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 className)
Implements javax. Load the given class name through the list of class loaders. |
| public final Class | loadClassBefore(ClassLoader loader, String className)
Implements javax. Load the given class name through the list of class loaders, stopping at the given one. |
| public final Class | loadClassWithout(ClassLoader loader, String 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
| |