Interface ConnectorRepository
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
ConnectorRepositoryImpl
public interface ConnectorRepository extends Serializable
The main repository containing all configured connectors.© 2012-2034 akquinet tech@spree
- Author:
- M. Dahm
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addConnectionInfo(String connectorId, ConnectorInfo connectionInfo)
Add connection info to repository with symbolic ID for data base such as "source db", e.g.<T> void
addConnectorHint(String connectorId, ConnectorHint<T> hint)
Add configuration hint for connector.void
addSourceDatabaseConfiguration(DatabaseType databaseType, SourceDatabaseConfiguration sourceDatabaseConfiguration)
Define configuration for given data base type when reading data.void
addTargetDatabaseConfiguration(DatabaseType databaseType, TargetDatabaseConfiguration targetDatabaseConfiguration)
Define configuration for given data base type when writing data.Connector
createConnector(String connectorId)
Create connectorConnectorInfo
getConnectionInfo(String connectorId)
Get connection info<T> ConnectorHint<T>
getConnectorHint(String connectorId, Class<T> connectorHintType)
Get configuration hint for connector.List<String>
getConnectorIds()
Get all currently configured connector IDs.DatabaseMetaData
getDatabaseMetaData(String connectorId)
Get all meta data from data base.SourceDatabaseConfiguration
getSourceDatabaseConfiguration(String connectorId)
Get configuration.TargetDatabaseConfiguration
getTargetDatabaseConfiguration(String connectorId)
Get configuration.void
refreshDatabaseMetaData(String connectorId)
Reset table data, i.e. it will be reread from the data base.void
removeConnectionInfo(String connectorId)
Remove all information about connector<T> void
removeConnectorHint(String connectorId, Class<T> connectionInfoHintType)
Remove configuration hint for connector.
-
-
-
Method Detail
-
addConnectionInfo
void addConnectionInfo(String connectorId, ConnectorInfo connectionInfo)
Add connection info to repository with symbolic ID for data base such as "source db", e.g.
-
removeConnectionInfo
void removeConnectionInfo(String connectorId)
Remove all information about connector
-
getConnectionInfo
ConnectorInfo getConnectionInfo(String connectorId)
Get connection info
-
getDatabaseMetaData
DatabaseMetaData getDatabaseMetaData(String connectorId)
Get all meta data from data base.
-
refreshDatabaseMetaData
void refreshDatabaseMetaData(String connectorId)
Reset table data, i.e. it will be reread from the data base.
-
getSourceDatabaseConfiguration
SourceDatabaseConfiguration getSourceDatabaseConfiguration(String connectorId)
Get configuration.
-
getTargetDatabaseConfiguration
TargetDatabaseConfiguration getTargetDatabaseConfiguration(String connectorId)
Get configuration.
-
addConnectorHint
<T> void addConnectorHint(String connectorId, ConnectorHint<T> hint)
Add configuration hint for connector.
-
removeConnectorHint
<T> void removeConnectorHint(String connectorId, Class<T> connectionInfoHintType)
Remove configuration hint for connector.
-
getConnectorHint
<T> ConnectorHint<T> getConnectorHint(String connectorId, Class<T> connectorHintType)
Get configuration hint for connector.
-
addSourceDatabaseConfiguration
void addSourceDatabaseConfiguration(DatabaseType databaseType, SourceDatabaseConfiguration sourceDatabaseConfiguration)
Define configuration for given data base type when reading data.
-
addTargetDatabaseConfiguration
void addTargetDatabaseConfiguration(DatabaseType databaseType, TargetDatabaseConfiguration targetDatabaseConfiguration)
Define configuration for given data base type when writing data.
-
-