Class DataSourceConnectorInfo
- java.lang.Object
-
- de.akquinet.jbosscc.guttenbase.connector.impl.DataSourceConnectorInfo
-
- All Implemented Interfaces:
ConnectorInfo
,Serializable
public class DataSourceConnectorInfo extends Object implements ConnectorInfo
Connector info via data source with optional user/password. To be used when running in an application server.© 2012-2034 akquinet tech@spree
- Author:
- M. Dahm
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataSourceConnectorInfo(DataSource dataSource, String user, String password, String schema, DatabaseType databaseType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Connector
createConnector(ConnectorRepository connectorRepository, String connectorId)
Create connectorDatabaseType
getDatabaseType()
DataSource
getDataSource()
String
getPassword()
String
getSchema()
String
getUser()
-
-
-
Constructor Detail
-
DataSourceConnectorInfo
public DataSourceConnectorInfo(DataSource dataSource, String user, String password, String schema, DatabaseType databaseType)
-
-
Method Detail
-
getUser
public String getUser()
- Specified by:
getUser
in interfaceConnectorInfo
- Returns:
- Data base user
-
getPassword
public String getPassword()
- Specified by:
getPassword
in interfaceConnectorInfo
- Returns:
- Data base password
-
getDataSource
public DataSource getDataSource()
-
getSchema
public String getSchema()
- Specified by:
getSchema
in interfaceConnectorInfo
- Returns:
- Data base schema
-
getDatabaseType
public DatabaseType getDatabaseType()
- Specified by:
getDatabaseType
in interfaceConnectorInfo
- Returns:
- Data base type
-
createConnector
public Connector createConnector(ConnectorRepository connectorRepository, String connectorId)
Create connector- Specified by:
createConnector
in interfaceConnectorInfo
-
-