org.geotools.gce.imagemosaic.properties
Class PropertiesCollectorFinder

Object
  extended by PropertiesCollectorFinder

public final class PropertiesCollectorFinder
extends Object

Author:
Simone Giannecchini, GeoSolutions SAS

Method Summary
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.
static void scanForPlugins()
          Scans for factory plug-ins on the application class path.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.



Copyright © 1996-2014 Geotools. All Rights Reserved.