Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.jdbc.extensions
Interface DataSourceSwitchingCallback

All Superinterfaces:
Serializable

public interface DataSourceSwitchingCallback
extends Serializable

A DataSourceSwitchingCallback provides a method to get a datasource from the proxy datasource.


Method Summary
abstract  DataSource getDataSource(String hostDataSource, String properties)
          Get a datasource from the PROXY datasource for the specified datasource name and properties.

 

Method Detail

getDataSource

DataSource getDataSource(String hostDataSource,
                         String properties)
Get a datasource from the PROXY datasource for the specified datasource name and properties.
Parameters:
hostDataSource - - the JNDI name of the proxy datasource
properties - - the proxy switching properties
Returns:
A datasource or null if not found

Skip navigation links

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09