org.zodiac.datasource.jdbc.factory.DataSourceFactory Maven / Gradle / Ivy
The newest version!
package org.zodiac.datasource.jdbc.factory;
import org.springframework.context.ApplicationContextAware;
import org.springframework.context.EnvironmentAware;
import javax.sql.DataSource;
import java.sql.SQLException;
public interface DataSourceFactory extends ApplicationContextAware, EnvironmentAware {
/**
* 取得数据源。
*
* @return 数据源。
* @throws SQLException SQLException
*/
DataSource getDataSource() throws SQLException;
}