public interface DataSourceSwitchingCallback extends Serializable
Modifier and Type | Method and Description |
---|---|
DataSource |
getDataSource(String hostDataSource,
String properties)
Get a datasource from the PROXY datasource for the specified
datasource name and properties.
|
DataSource getDataSource(String hostDataSource, String properties)
hostDataSource
- - the JNDI name of the proxy datasourceproperties
- - the proxy switching properties