org.mule.module.db.internal.domain.database
Interface DbConfig
- All Superinterfaces:
- org.mule.common.Capability, org.mule.common.metadata.ConnectorMetaDataEnabled, org.mule.common.Testable
- All Known Implementing Classes:
- GenericDbConfig
public interface DbConfig
- extends org.mule.common.Testable, org.mule.common.metadata.ConnectorMetaDataEnabled
Database configuration used in the connector
| Methods inherited from interface org.mule.common.Testable |
test |
getName
String getName()
- Returns:
- configuration name
getDataSource
DataSource getDataSource()
- Returns:
- a non null
DataSource to access the database
getConnectionFactory
DbConnectionFactory getConnectionFactory()
- Returns:
- a non null
DbConnectionFactory used to create connections for the database
Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.