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


Method Summary
 DbConnectionFactory getConnectionFactory()
           
 DataSource getDataSource()
           
 String getName()
           
 
Methods inherited from interface org.mule.common.Testable
test
 
Methods inherited from interface org.mule.common.metadata.ConnectorMetaDataEnabled
getMetaData, getMetaDataKeys
 

Method Detail

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.