congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
FactoryRegistry.getServiceProviders
Code IndexAdd Tabnine to your IDE (free)

How to use
getServiceProviders
method
in
org.geotools.factory.FactoryRegistry

Best Java code snippets using org.geotools.factory.FactoryRegistry.getServiceProviders (Showing top 20 results out of 315)

origin: org.geotools/gt-main

static synchronized <T extends DataAccessFactory> Iterator<T> getAllDataStores(
    FactoryRegistry registry, Class<T> category) {
  return registry.getServiceProviders(category, null, null);
}
origin: org.geotools/gt2-jdbc

/**
 * Finds all implemtaions of DataStoreFactory which have registered using the services
 * mechanism, and that have the appropriate libraries on the classpath.
 * 
 * @return An iterator over all discovered datastores which have registered factories, and whose
 *         available method returns true.
 */
public static synchronized Iterator getUnWrappers() {
  Set availableDS = new HashSet();
  return getServiceRegistry().getServiceProviders(UnWrapper.class);
}
origin: org.geotools/gt-jdbc

/**
 * Finds all implemtaions of DataStoreFactory which have registered using the services
 * mechanism, and that have the appropriate libraries on the classpath.
 * 
 * @return An iterator over all discovered datastores which have registered factories, and whose
 *         available method returns true.
 */
public static synchronized Iterator getUnWrappers() {
  Set availableDS = new HashSet();
  return getServiceRegistry().getServiceProviders(UnWrapper.class, null, null);
}
origin: org.geotools/gt-render

/**
 * Finds all implementations of {@link MarkFactory} which have registered
 * using the services mechanism.
 * 
 * @return An iterator over all discovered datastores which have registered
 *         factories, and whose available method returns true.
 */
public static synchronized Iterator<MarkFactory> getMarkFactories() {
  return getServiceRegistry().getServiceProviders(MarkFactory.class, null, null);
}
origin: org.geotools/gt-render

/**
 * Finds all implementations of {@link ExternalGraphicFactory} which have
 * registered using the services mechanism.
 * 
 * @return An iterator over all discovered datastores which have registered
 *         factories, and whose available method returns true.
 */
public static synchronized Iterator<ExternalGraphicFactory> getExternalGraphicFactories() {
  return getServiceRegistry().getServiceProviders(ExternalGraphicFactory.class, null, null);
}
origin: org.geotools/gt2-main

/**
 * Returns a set of all available implementations for the {@link GeometryFactory} category.
 *
 * @return Set of available geometry factory implementations.
 */
public static synchronized Set getGeometryFactories() {
  return new LazySet(getServiceRegistry().getServiceProviders(GeometryFactory.class));
}
origin: org.geotools/gt-process

/**
 * Set of available ProcessFactory; each of which is responsible for one or more processes.
 * 
 * @return Set of ProcessFactory
 */
public static Set<ProcessFactory> getProcessFactories() {
  Iterator<ProcessFactory> serviceProviders = getServiceRegistry().getServiceProviders(
          ProcessFactory.class, null, null);
  return new LazySet<ProcessFactory>(serviceProviders);
}
origin: org.geotools/gt-main

/**
 * Returns a set of all available implementations for the {@link GeometryFactory} category.
 *
 * @return Set of available geometry factory implementations.
 */
public static synchronized Set getGeometryFactories() {
  return new LazySet(getServiceRegistry().getServiceProviders(GeometryFactory.class, null, null));
}
origin: org.geotools/gt-main

/**
 * Returns a set of all available implementations for the {@link PrecisionModel} category.
 *
 * @return Set of available precision model implementations.
 */
public static synchronized Set getPrecisionModels() {
  return new LazySet(getServiceRegistry().getServiceProviders(PrecisionModel.class, null, null));
}
origin: org.geotools/gt-main

/**
 * Returns a set of all available implementations for the {@link CoordinateSequenceFactory}
 * interface.
 *
 * @return Set of available coordinate sequence factory implementations.
 */
public static synchronized Set getCoordinateSequenceFactories() {
  return new LazySet(getServiceRegistry().getServiceProviders(CoordinateSequenceFactory.class, null, null));
}
origin: org.geotools/gt2-main

/**
 * Returns a set of all available implementations for the {@link PrecisionModel} category.
 *
 * @return Set of available precision model implementations.
 */
public static synchronized Set getPrecisionModels() {
  return new LazySet(getServiceRegistry().getServiceProviders(PrecisionModel.class));
}
origin: org.geotools/gt2-coverage

/**
 * Returns a set of all available implementations for the {@link GridCoverageFactory} interface.
 *
 * @return Set of available grid coverage factory implementations.
 *
 * @deprecated Use {@link #getGridCoverageFactories(Hints)} instead.
 */
public static synchronized Set getGridCoverageFactories() {
  return new LazySet(getServiceRegistry().getServiceProviders(GridCoverageFactory.class));
}
origin: org.geotools/gt2-main

/**
 * Returns a set of all available implementations for the {@link CoordinateSequenceFactory}
 * interface.
 *
 * @return Set of available coordinate sequence factory implementations.
 */
public static synchronized Set getCoordinateSequenceFactories() {
  return new LazySet(getServiceRegistry().getServiceProviders(CoordinateSequenceFactory.class));
}
origin: org.geotools/gt2-main

/**
 * Returns a set of all available implementations for the {@link FunctionExpression} interface.
 * 
 * @param  hints An optional map of hints, or {@code null} if none.
 * @return Set of available function expression implementations.
 */
public static synchronized Set getFunctions(Hints hints) {
  hints = mergeSystemHints(hints);
  return new LazySet(getServiceRegistry().getServiceProviders(
      FunctionImpl.class, null, hints));
}    
origin: org.geotools/gt2-main

/**
 * Returns a set of all available implementations for the {@link StyleFactory} interface.
 *
 * @param  hints An optional map of hints, or {@code null} if none.
 * @return Set of available style factory implementations.
 */
public static synchronized Set getStyleFactories(Hints hints) {
  hints = mergeSystemHints(hints);
  return new LazySet(getServiceRegistry().getServiceProviders(
      StyleFactory.class, null, hints));
}
origin: org.geotools/gt2-main

/**
 * Returns a set of all available implementations for the {@link FunctionExpression} interface.
 *
 * @param  hints An optional map of hints, or {@code null} if none.
 * @return Set of available style factory implementations.
 * @deprecated Use FunctionExpression is now @deprecated
 */
public static synchronized Set getFunctionExpressions(Hints hints) {
  hints = mergeSystemHints(hints);
  return new LazySet(getServiceRegistry().getServiceProviders(
      Function.class, null, hints));
}
origin: org.geotools/gt2-main

/**
 * Returns a set of all available implementations for the {@link FileDataStoreFactorySpi} interface.
 * 
 * @param  hints An optional map of hints, or {@code null} if none.
 * @return Set of available file data store factory implementations.
 */
public static synchronized Set getFileDataStoreFactories(Hints hints) {
  hints = mergeSystemHints(hints);
  return new LazySet(getServiceRegistry().getServiceProviders(
      FileDataStoreFactorySpi.class, null, hints));
}
origin: org.geotools/gt2-main

/**
 * Returns a set of all available implementations for the {@link FeatureCollections} interface.
 *
 * @param  hints An optional map of hints, or {@code null} if none.
 * @return Set of available feature collections implementations.
 */
public static synchronized Set getFeatureCollectionsSet(Hints hints) {
  hints = mergeSystemHints(hints);
  return new LazySet(getServiceRegistry().getServiceProviders(
      FeatureCollections.class, null, hints));
}    
origin: org.geotools/gt2-main

/**
 * Returns a set of all available implementations for the {@link FilterFactory} interface.
 *
 * @param  hints An optional map of hints, or {@code null} if none.
 * @return Set of available filter factory implementations.
 */
public static synchronized Set getFilterFactories(Hints hints) {
  hints = mergeSystemHints(hints);
  return new LazySet(getServiceRegistry().getServiceProviders(
      FilterFactory.class, null, hints));
}
origin: org.geotools/gt2-main

/**
 * Returns a set of all available implementations for the {@link ConverterFactory} interface.
 *
 * @param  hints An optional map of hints, or {@code null} if none.
 * @return Set of available ConverterFactory implementations.
 */
public static synchronized Set getConverterFactories(Hints hints) {
  hints = addDefaultHints(hints);
  return new LazySet(getServiceRegistry().getServiceProviders(
      ConverterFactory.class, null, hints));
}
org.geotools.factoryFactoryRegistrygetServiceProviders

Javadoc

Returns the providers in the registry for the specified category. Providers that are not OptionalFactory#isAvailable will be ignored. This method will #scanForPlugins() the first time it is invoked for the given category.

Popular methods of FactoryRegistry

  • scanForPlugins
    Scans for factory plug-ins of the given category, with guard against recursivities. The recursivity
  • getServiceProvider
    Returns the first provider in the registry for the specified category, using the specified map of hi
  • lookupProviders
  • registerServiceProvider
  • <init>
    Constructs a new registry for the specified categories.
  • debug
    Log a debug message for #getServiceProvider method. Note: we are not required to insert the method n
  • getCachedProviders
    Returns the providers available in the cache, or null if none. To be overridden by FactoryCreator on
  • getCategories
  • getClassLoaders
    Returns all class loaders to be used for scanning plugins. Current implementation returns the follow
  • getFactories
  • getLogHeader
    Prepares a message to be logged if any provider has been registered.
  • getServiceImplementation
    Search the first implementation in the registery matching the specified conditions. This method is i
  • getLogHeader,
  • getServiceImplementation,
  • getServiceProviderByClass,
  • getUnfilteredProviders,
  • isAcceptable,
  • isAvailable,
  • loadingFailure,
  • log,
  • register

Popular in Java

  • Reading from database using SQL prepared statement
  • getSharedPreferences (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • startActivity (Activity)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • IsNull (org.hamcrest.core)
    Is the value null?
  • 14 Best Plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now