@Test public void testCreateDataStore() throws IOException { DataAccess<FeatureType, Feature> ds = factory.createDataStore(params); assertNotNull(ds); FeatureSource<FeatureType, Feature> mappedSource = ds.getFeatureSource(mappedTypeName); assertNotNull(mappedSource); assertSame(ds, mappedSource.getDataStore()); ds.dispose(); }
public DataAccess<FeatureType, Feature> createDataStore(Map params) throws IOException { final Set<AppSchemaDataAccess> registeredAppSchemaStores = new HashSet<AppSchemaDataAccess>(); try { return createDataStore(params, false, new DataAccessMap(), registeredAppSchemaStores); } catch (Exception ex) { for (AppSchemaDataAccess appSchemaDataAccess : registeredAppSchemaStores) { appSchemaDataAccess.dispose(); } throw ex; } }
AppSchemaDataAccessFactory implements DataAccessFactory { public DataAccess<FeatureType, Feature> createDataStore(Map params) throws IOException { final Set<AppSchemaDataAccess> registeredAppSchemaStores = new HashSet<AppSchemaDataAccess>(); try { return createDataStore(params, false, new DataAccessMap(), registeredAppSchemaStores); } catch (Exception ex) { for (AppSchemaDataAccess appSchemaDataAccess : registeredAppSchemaStores) { appSchemaDataAccess.dispose(); } throw ex; } } }
AppSchemaDataAccessFactory implements DataAccessFactory { public DataAccess<FeatureType, Feature> createDataStore(Map params) throws IOException { final Set<AppSchemaDataAccess> registeredAppSchemaStores = new HashSet<AppSchemaDataAccess>(); try { return createDataStore(params, false, new DataAccessMap(), registeredAppSchemaStores); } catch (Exception ex) { for (AppSchemaDataAccess appSchemaDataAccess : registeredAppSchemaStores) { appSchemaDataAccess.dispose(); } throw ex; } } AppSchemaDataAccessFactory(); }
AppSchemaDataAccessFactory implements DataAccessFactory { public DataAccess<FeatureType, Feature> createDataStore(Map params) throws IOException { final Set<AppSchemaDataAccess> registeredAppSchemaStores = new HashSet<AppSchemaDataAccess>(); try { return createDataStore(params, false, new DataAccessMap(), registeredAppSchemaStores); } catch (Exception ex) { for (AppSchemaDataAccess appSchemaDataAccess : registeredAppSchemaStores) { appSchemaDataAccess.dispose(); } throw ex; } } AppSchemaDataAccessFactory(); DataAccess<FeatureType, Feature> createDataStore(Map params); DataAccess<FeatureType, Feature> createDataStore(
            Map params,
            boolean hidden,
            DataAccessMap sourceDataStoreMap,
            final Set<AppSchemaDataAccess> registeredAppSchemaStores); DataStore createNewDataStore(Map params); String getDisplayName(); String getDescription(); DataStoreFactorySpi.Param[] getParametersInfo(); boolean canProcess(Map params); boolean isAvailable(); Map getImplementationHints(); }
AppSchemaDataAccessFactory implements DataAccessFactory { public DataAccess<FeatureType, Feature> createDataStore(Map params) throws IOException { final Set<AppSchemaDataAccess> registeredAppSchemaStores = new HashSet<AppSchemaDataAccess>(); try { return createDataStore(params, false, new DataAccessMap(), registeredAppSchemaStores); } catch (Exception ex) { for (AppSchemaDataAccess appSchemaDataAccess : registeredAppSchemaStores) { appSchemaDataAccess.dispose(); } throw ex; } } AppSchemaDataAccessFactory(); DataAccess<FeatureType, Feature> createDataStore(Map params); DataAccess<FeatureType, Feature> createDataStore(
            Map params,
            boolean hidden,
            DataAccessMap sourceDataStoreMap,
            final Set<AppSchemaDataAccess> registeredAppSchemaStores); DataStore createNewDataStore(Map params); String getDisplayName(); String getDescription(); DataStoreFactorySpi.Param[] getParametersInfo(); boolean canProcess(Map params); boolean isAvailable(); Map getImplementationHints(); static final String DBTYPE_STRING; static final DataAccessFactory.Param DBTYPE; static final DataAccessFactory.Param URL; }