Class DataSourceConnector
- java.lang.Object
-
- de.akquinet.jbosscc.guttenbase.connector.impl.AbstractConnector
-
- de.akquinet.jbosscc.guttenbase.connector.impl.DataSourceConnector
-
- All Implemented Interfaces:
Connector
,AutoCloseable
public class DataSourceConnector extends AbstractConnector
Connection info via data source and optional user/password.© 2012-2034 akquinet tech@spree
- Author:
- M. Dahm
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.slf4j.Logger
LOG
-
Fields inherited from class de.akquinet.jbosscc.guttenbase.connector.impl.AbstractConnector
_connection, _connectionInfo, _connectorId, _connectorRepository
-
-
Constructor Summary
Constructors Constructor Description DataSourceConnector(ConnectorRepository connectorRepository, String connectorId, DataSourceConnectorInfo dataSourceConnectionInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Connection
openConnection()
Open connection or return existing connection-
Methods inherited from class de.akquinet.jbosscc.guttenbase.connector.impl.AbstractConnector
closeConnection, retrieveDatabaseMetaData
-
-
-
-
Constructor Detail
-
DataSourceConnector
public DataSourceConnector(ConnectorRepository connectorRepository, String connectorId, DataSourceConnectorInfo dataSourceConnectionInfo)
-
-
Method Detail
-
openConnection
public Connection openConnection() throws SQLException
Open connection or return existing connection- Throws:
SQLException
-
-