static synchronized <T extends DataAccessFactory> Iterator<T> getAllDataStores( FactoryRegistry registry, Class<T> category) { return registry.getServiceProviders(category, null, null); }
/** * 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); }
/** * 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); }
/** * 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); }
/** * 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); }
/** * 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)); }
/** * 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); }
/** * 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)); }
/** * 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)); }
/** * 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)); }
/** * 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)); }
/** * 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)); }
/** * 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)); }
/** * 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)); }
/** * 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)); }
/** * 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)); }
/** * 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)); }
/** * 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)); }
/** * 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)); }
/** * 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)); }