Package org.geotools.factory

Examples of org.geotools.factory.FactoryCreator


        assertNotNull(source);
        assertTrue(source instanceof SolrDataStore);
    }

    private FactoryRegistry getServiceRegistry() {
        FactoryRegistry registry = new FactoryCreator(
                Arrays.asList(new Class<?>[] { DataStoreFactorySpi.class }));
        return registry;
    }
View Full Code Here


     * </p>
     */
    private static FactoryRegistry getServiceRegistry() {
        assert Thread.holdsLock(EFeatureFactoryFinder.class);
        if (registry == null) {
            registry = new FactoryCreator(Arrays.asList(
                    new Class<?>[] {BufferedFactory.class,
                            EFeatureContextFactory.class
                    }));
        }
        return registry;
View Full Code Here

     * 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;
    }
View Full Code Here

     * 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,
View Full Code Here

     * time this method is invoked.
     */
    private static FactoryRegistry getServiceRegistry() {
        synchronized (Processors.class) {
            if (registry == null) {
                registry = new FactoryCreator(ProcessFactory.class);
            }
        }
        return registry;
    }
View Full Code Here

     * 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;
    }
View Full Code Here

     * 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,
View Full Code Here

     * 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;
    }
View Full Code Here

     * 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<?>[] { DXFWriter.class }));
        }
        return registry;
    }
View Full Code Here

TOP

Related Classes of org.geotools.factory.FactoryCreator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.