de.akquinet.jbosscc.guttenbase.connector.ConnectorInfo Maven / Gradle / Ivy
The newest version!
package de.akquinet.jbosscc.guttenbase.connector;
import de.akquinet.jbosscc.guttenbase.repository.ConnectorRepository;
import java.io.Serializable;
import java.sql.Connection;
/**
* Information about connectors, in particular, parameters needed to establish a {@link Connection} to the data base.
*
*
* © 2012-2034 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