// Path: plume-db/src/main/java/com/coreoz/plume/db/transaction/DataSourceProvider.java
// @Singleton
// public class DataSourceProvider implements Provider<DataSource> {
// 
// 	private final DataSource dataSource;
// 
// 	@Inject
// 	public DataSourceProvider(TransactionManager transactionManager) {
// 		this.dataSource = transactionManager.dataSource();
// 	}
// 
// 	@Override
// 	public DataSource get() {
// 		return dataSource;
// 	}
// 
// }


import javax.sql.DataSource;
import com.coreoz.plume.db.transaction.DataSourceProvider;
import com.google.inject.AbstractModule;
package com.coreoz.plume.db.guice;



public class DataSourceModule extends AbstractModule {

	@Override
	protected void configure() {
// Path: plume-db/src/main/java/com/coreoz/plume/db/transaction/DataSourceProvider.java
// @Singleton
// public class DataSourceProvider implements Provider<DataSource> {
// 
// 	private final DataSource dataSource;
// 
// 	@Inject
// 	public DataSourceProvider(TransactionManager transactionManager) {
// 		this.dataSource = transactionManager.dataSource();
// 	}
// 
// 	@Override
// 	public DataSource get() {
// 		return dataSource;
// 	}
// 
// }


// Path: plume-db/src/main/java/com/coreoz/plume/db/guice/DataSourceModule.java
import javax.sql.DataSource;
import com.coreoz.plume.db.transaction.DataSourceProvider;
import com.google.inject.AbstractModule;

package com.coreoz.plume.db.guice;



public class DataSourceModule extends AbstractModule {

	@Override
	protected void configure() {
		bind(DataSource.class).toProvider(DataSourceProvider.class);