protected final class PluginRegistry.URLClassloaderPrivilegedAction
extends java.lang.Object
implements java.security.PrivilegedAction<java.net.URLClassLoader>
URLClassLoader classloader with the provided URLs as classpath.| Modifier | Constructor and Description |
|---|---|
protected |
URLClassloaderPrivilegedAction(java.net.URL[] urlClassPaths,
boolean hasParent,
boolean preferOwn)
Simple constructor that sets the URLs of the created class loader.
|
| Modifier and Type | Method and Description |
|---|---|
java.net.URLClassLoader |
run() |
protected URLClassloaderPrivilegedAction(java.net.URL[] urlClassPaths,
boolean hasParent,
boolean preferOwn)
urlClassPaths - The class paths for the created classloader.hasParent - Whether the created classloader should have the
classloader of the PluginRegistry as parent
classloader or no parent classloader at all (null).preferOwn - Whether the created classloader prefer its own class
paths to the parent class paths. This is only relevant for a
classloader having a parent.