Package org.pf4j

Class ServiceProviderExtensionFinder

    • Field Detail

      • log

        private static final org.slf4j.Logger log
    • Constructor Detail

      • ServiceProviderExtensionFinder

        public ServiceProviderExtensionFinder​(PluginManager pluginManager)
    • Method Detail

      • collectExtensions

        private void collectExtensions​(java.util.Enumeration<java.net.URL> urls,
                                       java.util.Set<java.lang.String> bucket)
                                throws java.net.URISyntaxException,
                                       java.io.IOException
        Throws:
        java.net.URISyntaxException
        java.io.IOException
      • collectExtensions

        private void collectExtensions​(java.net.URL url,
                                       java.util.Set<java.lang.String> bucket)
                                throws java.net.URISyntaxException,
                                       java.io.IOException
        Throws:
        java.net.URISyntaxException
        java.io.IOException
      • getExtensionsResource

        private static java.lang.String getExtensionsResource()
      • readExtensions

        private java.util.Set<java.lang.String> readExtensions​(java.nio.file.Path extensionPath)
                                                        throws java.io.IOException
        Throws:
        java.io.IOException