@Test public void testGetParametersInfo() { DataStoreFactorySpi.Param[] params = factory.getParametersInfo(); assertNotNull(params); assertEquals(2, params.length); assertEquals(String.class, params[0].type); assertEquals(URL.class, params[1].type); }
public DataStoreFactorySpi.Param[] getParametersInfo() { return new DataStoreFactorySpi.Param[] { AppSchemaDataAccessFactory.DBTYPE, AppSchemaDataAccessFactory.URL }; }
AppSchemaDataAccessFactory implements DataAccessFactory { public DataStoreFactorySpi.Param[] getParametersInfo() { return new DataStoreFactorySpi.Param[] { AppSchemaDataAccessFactory.DBTYPE, AppSchemaDataAccessFactory.URL }; } }
AppSchemaDataAccessFactory implements DataAccessFactory { public DataStoreFactorySpi.Param[] getParametersInfo() { return new DataStoreFactorySpi.Param[] { AppSchemaDataAccessFactory.DBTYPE, AppSchemaDataAccessFactory.URL }; } AppSchemaDataAccessFactory(); }
AppSchemaDataAccessFactory implements DataAccessFactory { public DataStoreFactorySpi.Param[] getParametersInfo() { return new DataStoreFactorySpi.Param[] { AppSchemaDataAccessFactory.DBTYPE, AppSchemaDataAccessFactory.URL }; } AppSchemaDataAccessFactory(); DataAccess<FeatureType, Feature> createDataStore(Map params); DataStore createNewDataStore(Map params); String getDisplayName(); String getDescription(); DataStoreFactorySpi.Param[] getParametersInfo(); boolean canProcess(Map params); boolean isAvailable(); Map getImplementationHints(); }
AppSchemaDataAccessFactory implements DataAccessFactory { public DataStoreFactorySpi.Param[] getParametersInfo() { return new DataStoreFactorySpi.Param[] { AppSchemaDataAccessFactory.DBTYPE, AppSchemaDataAccessFactory.URL }; } AppSchemaDataAccessFactory(); DataAccess<FeatureType, Feature> createDataStore(Map params); 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; }