/** * Returns the service registry. The registry will be created the first time this method is * invoked. */ private static FactoryRegistry getServiceRegistry() { synchronized (Processors.class) { if (registry == null) { registry = new FactoryCreator(ProcessFactory.class); } } return registry; }
/** * Returns the service registry. The registry will be created the first time this method is * invoked. */ private static FactoryRegistry getServiceRegistry() { if (registry == null) { registry = new FactoryCreator( Arrays.asList(new Class<?>[] {SubmosaicProducerFactory.class})); } return registry; } }
/** * Returns the service registry. The registry will be created the first time this method is * invoked. */ private static FactoryRegistry getServiceRegistry() { if (registry == null) { registry = new FactoryCreator( Arrays.asList(new Class<?>[] {CoverageNameCollectorSPI.class})); } return registry; } }
/** * Returns the service registry. The registry will be created the first time this method is * invoked. */ private static FactoryRegistry getServiceRegistry() { if (registry == null) { registry = new FactoryCreator( Arrays.asList(new Class<?>[] {GranuleHandlerFactorySPI.class})); } return registry; } }
/** * Returns the service registry. The registry will be created the first time this method is * invoked. */ private static FactoryRegistry getServiceRegistry() { if (registry == null) { registry = new FactoryCreator( Arrays.asList(new Class<?>[] {GranuleAcceptorFactorySPI.class})); } return registry; } }
/** * Returns the service registry. The registry will be created the first time this method is * invoked. */ private static FactoryRegistry getServiceRegistry() { assert Thread.holdsLock(CoverageIO.class); if (REGISTRY == null) { REGISTRY = new FactoryCreator(Arrays.asList(new Class<?>[] {Driver.class})); } return REGISTRY; }
/** * Returns the service registry. The registry will be created the first time this method is * invoked. */ private static FactoryRegistry getServiceRegistry() { assert Thread.holdsLock(DataAccessFinder.class); if (registry == null) { registry = new FactoryCreator(Arrays.asList(new Class<?>[] {DataAccessFactory.class})); } return registry; }
/** * Returns the service registry. The registry will be created the first time this method is * invoked. */ private static FactoryRegistry getServiceRegistry() { assert Thread.holdsLock(FootprintLoaderFinder.class); if (registry == null) { registry = new FactoryCreator(Arrays.asList(new Class<?>[] {FootprintLoaderSpi.class})); } return registry; }
/** * Returns the service registry. The registry will be created the first time this method is * invoked. */ private static FactoryRegistry getServiceRegistry() { assert Thread.holdsLock(CoordinateHandlerFinder.class); if (registry == null) { registry = new FactoryCreator(Arrays.asList(new Class<?>[] {CoordinateHandlerSpi.class})); } return registry; }
/** * Returns the service registry. The registry will be created the first time this method is * invoked. */ private static FactoryRegistry getServiceRegistry() { assert Thread.holdsLock(GridFormatFinder.class); if (registry == null) { registry = new FactoryCreator(Arrays.asList(new Class<?>[] {GridFormatFactorySpi.class})); } return registry; }
/** * Returns the service registry. The registry will be created the first time this method is * invoked. */ private static FactoryRegistry getServiceRegistry() { assert Thread.holdsLock(CoverageFactoryFinder.class); if (registry == null) { registry = new FactoryCreator(Arrays.asList(new Class<?>[] {GridCoverageFactory.class})); } return registry; }
/** * Returns the service registry. The registry will be created the first time this method is * invoked. */ private static FactoryRegistry getServiceRegistry() { assert Thread.holdsLock(DataStoreFinder.class); if (registry == null) { registry = new FactoryCreator(Arrays.asList(new Class<?>[] {DataStoreFactorySpi.class})); } return registry; }
/** * Returns the service registry. The registry will be created the first time this method is * invoked. */ private static FactoryRegistry getServiceRegistry() { assert Thread.holdsLock(PropertiesCollectorFinder.class); if (registry == null) { registry = new FactoryCreator( Arrays.asList(new Class<?>[] {PropertiesCollectorSPI.class})); } return registry; }
/** * Returns the service registry. The registry will be created the first time this method is * invoked. */ private static FactoryRegistry getServiceRegistry() { assert Thread.holdsLock(DataSourceFinder.class); if (registry == null) { registry = new FactoryCreator( Arrays.asList( new Class<?>[] {DataSourceFactorySpi.class, UnWrapper.class})); } return registry; }
/** * Returns the service registry. The registry will be created the first time this method is * invoked. */ private static FactoryRegistry getServiceRegistry() { assert Thread.holdsLock(DynamicSymbolFactoryFinder.class); if (registry == null) { registry = new FactoryCreator( Arrays.asList( new Class<?>[] { MarkFactory.class, ExternalGraphicFactory.class })); } return registry; }
/** * Returns the service registry. The registry will be created the first time this method is * invoked. */ private static FactoryRegistry getServiceRegistry() { assert Thread.holdsLock(Converters.class); if (registry == null) { registry = new FactoryCreator( Arrays.asList( new Class<?>[] { ConverterFactory.class, })); } return registry; } // /**
/** * Returns the service registry. The registry will be created the first time this method is * invoked. */ private static FactoryRegistry getServiceRegistry() { assert Thread.holdsLock(ReferencingFactoryFinder.class); if (registry == null) { registry = new FactoryCreator( new Class<?>[] { DatumFactory.class, CSFactory.class, CRSFactory.class, DatumAuthorityFactory.class, CSAuthorityFactory.class, CRSAuthorityFactory.class, MathTransformFactory.class, CoordinateOperationFactory.class, CoordinateOperationAuthorityFactory.class, GridShiftLocator.class }); } return registry; }
/** * Returns the service registry. The registry will be created the first time this method is * invoked. */ private static FactoryRegistry getServiceRegistry() { assert Thread.holdsLock(GeometryFactoryFinder.class); if (registry == null) { registry = new FactoryCreator( Arrays.asList( new Class<?>[] { Precision.class, PositionFactory.class, GeometryFactory.class, ComplexFactory.class, AggregateFactory.class, PrimitiveFactory.class })); } return registry; }
/** * Returns the service registry. The registry will be created the first time this method is * invoked. */ @SuppressWarnings("deprecation") private static FactoryRegistry getServiceRegistry() { assert Thread.holdsLock(CommonFactoryFinder.class); if (registry == null) { registry = new FactoryCreator( Arrays.asList( new Class<?>[] { StyleFactory.class, FilterFactory.class, FeatureLockFactory.class, FileDataStoreFactorySpi.class, // FunctionImpl.class, // TODO: remove // FunctionExpression.class,//TODO: remove Function.class, FunctionFactory.class, FeatureFactory.class, FeatureTypeFactory.class, FeatureCollections.class })); } return registry; }
/** * Returns the service registry. The registry will be created the first time this method is * invoked. */ private static FactoryRegistry getServiceRegistry() { assert Thread.holdsLock(JTSFactoryFinder.class); if (registry == null) { registry = new FactoryCreator(Arrays.asList(new Class<?>[] {GeometryFactory.class})); registry.registerFactory(new GeometryFactory(), GeometryFactory.class); } return registry; }