Class PropertiesCollectorFinder


  • public final class PropertiesCollectorFinder
    extends Object
    Author:
    Simone Giannecchini, GeoSolutions SAS
    • Method Detail

      • getPropertiesCollectorSPI

        public static Set<PropertiesCollectorSPI> getPropertiesCollectorSPI()
        Finds all avalaible implementations of GridFormatFactorySpi which have registered using the services mechanism, and that have the appropriate libraries on the classpath.
        Returns:
        An unmodifiable Set of all discovered datastores which have registered factories, and whose available method returns true.
      • scanForPlugins

        public static void scanForPlugins()
        Scans for factory plug-ins on the application class path. This method is needed because the application class path can theoretically change, or additional plug-ins may become available. Rather than re-scanning the classpath on every invocation of the API, the class path is scanned automatically only on the first invocation. Clients can call this method to prompt a re-scan. Thus this method need only be invoked by sophisticated applications which dynamically make new plug-ins available at runtime.