Class ClassFileLocator.ForUrl.ClassLoaderCreationAction

  • All Implemented Interfaces:
    java.security.PrivilegedAction<java.lang.ClassLoader>
    Enclosing class:
    ClassFileLocator.ForUrl

    @Enhance
    protected static class ClassFileLocator.ForUrl.ClassLoaderCreationAction
    extends java.lang.Object
    implements java.security.PrivilegedAction<java.lang.ClassLoader>
    An action to create a class loader with the purpose of locating classes from an URL location.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.net.URL[] url
      The URLs to locate classes from.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ClassLoaderCreationAction​(java.net.URL[] url)
      Creates a new class loader creation action.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.ClassLoader run()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • url

        private final java.net.URL[] url
        The URLs to locate classes from.
    • Constructor Detail

      • ClassLoaderCreationAction

        protected ClassLoaderCreationAction​(java.net.URL[] url)
        Creates a new class loader creation action.
        Parameters:
        url - The URLs to locate classes from.
    • Method Detail

      • run

        public java.lang.ClassLoader run()
        Specified by:
        run in interface java.security.PrivilegedAction<java.lang.ClassLoader>