de.akquinet.jbosscc.guttenbase.connector.ConnectorInfo Maven / Gradle / Ivy
package de.akquinet.jbosscc.guttenbase.connector;
import java.io.Serializable;
import java.sql.Connection;
import de.akquinet.jbosscc.guttenbase.repository.ConnectorRepository;
/**
* Information about connectors, in particular, parameters needed to establish a {@link Connection} to the data base.
*
*
* © 2012 akquinet tech@spree
*
*
* @author M. Dahm
*/
public interface ConnectorInfo extends Serializable {
/**
* @return Data base user
*/
String getUser();
/**
* @return Data base password
*/
String getPassword();
/**
* @return Data base schema
*/
String getSchema();
/**
* @return Data base type
*/
DatabaseType getDatabaseType();
/**
* Create connector
*/
Connector createConnector(final ConnectorRepository connectorRepository, final String connectorId);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy