Class ServiceLoadingURLClassPathHandle

    • Constructor Detail

      • ServiceLoadingURLClassPathHandle

        public ServiceLoadingURLClassPathHandle()
    • Method Detail

      • getURLs

        public java.net.URL[] getURLs​(java.lang.ClassLoader classLoader)
        Description copied from interface: URLClassPathHandle
        Get the Class-Path URLs from the specified ClassLoader
        Specified by:
        getURLs in interface URLClassPathHandle
        Parameters:
        classLoader - the specified ClassLoader
        Returns:
        the non-null array of URLs
      • removeURL

        public boolean removeURL​(java.lang.ClassLoader classLoader,
                                 java.net.URL url)
        Description copied from interface: URLClassPathHandle
        Remove the Class-Path URL from the specified ClassLoader
        Specified by:
        removeURL in interface URLClassPathHandle
        Parameters:
        classLoader - the specified ClassLoader
        url - the Class-Path URL
        Returns:
        if removed, return true, otherwise false