Class DelegateProxyClassLoader

    • Constructor Detail

      • DelegateProxyClassLoader

        public DelegateProxyClassLoader​(AbstractClassLoader delegate)
                                 throws NullPointerException
        Build a new instance of DelegateProxyClassLoader.java.
        Parameters:
        delegate - instance of AbstractClassLoader where to delegate
        Throws:
        NullPointerException - if delegate is null
    • Method Detail

      • loadClass

        public Class<?> loadClass​(String className,
                                  boolean resolveIt)
        Description copied from class: ProxyClassLoader
        Loads the class from this delegate loader.
        Specified by:
        loadClass in class ProxyClassLoader
        Parameters:
        className - binary name of the class to load
        resolveIt - whether to resolve the class if found
        Returns:
        the loaded class, or null if not found in this delegate
      • findResource

        public URL findResource​(String name)
        Description copied from class: ProxyClassLoader
        Finds the resource URL in this delegate loader.
        Specified by:
        findResource in class ProxyClassLoader
        Parameters:
        name - resource name
        Returns:
        resource URL, or null if not found