Package org.geotools.api.data
Interface Repository
- All Known Implementing Classes:
AppSchemaDataAccessRegistry
,DataAccessRegistry
,DefaultRepository
,DSFinderRepository
public interface Repository
An adapter interface allowing a hosting application to advertise DataStore instances to GeoTools.
GeoTools includes a really simple RepositoryImpl which you can use to manage DataStore in your own application; or if you have your own advanced "catalog" you can make your own implementation.
-
Method Summary
Modifier and TypeMethodDescriptionDataAccess<?,
?> Search for the DataAccess (may be a DataStore) by name.Search for the DataStore by name.List of available DataStore instances; these are considered to be live/connected datastores under the management of the application and should not be closed or otherwise harmed by client code.
-
Method Details
-
access
Search for the DataAccess (may be a DataStore) by name.- Parameters:
name
- The Name (namespace and name) to search for- Returns:
- DataAccess
-
dataStore
Search for the DataStore by name.- Parameters:
name
- The typeName (namespace and name) to search for- Returns:
- DataAccess api providing access to the indicatedTypeName (or null if not found)
-
getDataStores
List of available DataStore instances; these are considered to be live/connected datastores under the management of the application and should not be closed or otherwise harmed by client code.- Returns:
- List of Managed DataStore instances
-