Class PropertiesCollectorFinder
Object
PropertiesCollectorFinder
- Author:
 - Simone Giannecchini, GeoSolutions SAS
 
- 
Method Summary
Modifier and TypeMethodDescriptionstatic Set<PropertiesCollectorSPI>Finds all avalaible implementations ofGridFormatFactorySpiwhich have registered using the services mechanism, and that have the appropriate libraries on the classpath.static voidScans for factory plug-ins on the application class path. 
- 
Method Details
- 
getPropertiesCollectorSPI
Finds all avalaible implementations ofGridFormatFactorySpiwhich have registered using the services mechanism, and that have the appropriate libraries on the classpath.- Returns:
 - An unmodifiable 
Setof 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. 
 -