Class PluginRegistry.URLClassloaderPrivilegedAction

java.lang.Object
de.aristaflow.adept2.base.registry.PluginRegistry.URLClassloaderPrivilegedAction
All Implemented Interfaces:
PrivilegedAction<URLClassLoader>
Enclosing class:
PluginRegistry

@Deprecated(since="17.0.0", forRemoval=true) protected final class PluginRegistry.URLClassloaderPrivilegedAction extends Object implements PrivilegedAction<URLClassLoader>
Deprecated, for removal: This API element is subject to removal in a future version.
The security manager has been deprecated and removed. This class is no longer of use, just perform the action directly.
A simple implementation of a privileged action that returns a normal URLClassLoader classloader with the provided URLs as classpath.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    URLClassloaderPrivilegedAction(URL[] urlClassPaths, boolean hasParent, boolean preferOwn)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Simple constructor that sets the URLs of the created class loader.
  • Method Summary

    Modifier and Type
    Method
    Description
    run()
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • URLClassloaderPrivilegedAction

      protected URLClassloaderPrivilegedAction(URL[] urlClassPaths, boolean hasParent, boolean preferOwn)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Simple constructor that sets the URLs of the created class loader.
      Parameters:
      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.
  • Method Details