DelegatingDataSource setTargetDataSource - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for DelegatingDataSource setTargetDataSource method.

This code example shows how to use the following methods:afterPropertiesSet, setTargetDataSource
	 
	/** 
	 * Create a new DynamicDataSourceProxy. 
	 * @param targetDataSource the target DataSource 
	 */ 
	public DynamicDataSourceProxy(DataSource targetDataSource) {
		setTargetDataSource(targetDataSource);
		afterPropertiesSet();
	} 
	 
	/** 
	 * Default constructor. 
	 */ 
	public DynamicDataSourceProxy(){ 
		// default constructor 
	} 
	 
	/** Switch to a new DataSource using the given configuration. 
	 * @param newConfig BoneCP DataSource to use. 
	 * @throws SQLException 
7
CodeRank
setTargetDataSource Method Overview
Set the target DataSource that this DataSource should delegate to.
See Code Examples for other Spring Framework DelegatingDataSource Methods: