Class PropertiesCollectorFinder
- Object
-
- PropertiesCollectorFinder
-
public final class PropertiesCollectorFinder extends Object
- Author:
- Simone Giannecchini, GeoSolutions SAS
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Set<PropertiesCollectorSPI>
getPropertiesCollectorSPI()
Finds all avalaible implementations ofGridFormatFactorySpi
which have registered using the services mechanism, and that have the appropriate libraries on the classpath.static void
scanForPlugins()
Scans for factory plug-ins on the application class path.
-
-
-
Method Detail
-
getPropertiesCollectorSPI
public static Set<PropertiesCollectorSPI> getPropertiesCollectorSPI()
Finds all avalaible implementations ofGridFormatFactorySpi
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.
-
-