Package oracle.ucp.jdbc
Interface ConnectionLabelingCallback
-
- All Superinterfaces:
ConnectionLabelingCallback
public interface ConnectionLabelingCallback extends ConnectionLabelingCallback
New callback interface for connection labeling support. Applications using the connection labeling feature must either provide an implementation of this interface, or the one in the oracle.ucp package.The additional method
getRequestedLabels
in this new interface allows applications to use connection labeling with standard JDBCgetConnection
APIs. Applications do not need to specify the requested labels as part of thegetConnection
calls. Instead, the connection pool obtains the requested labels by calling this new method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Properties
getRequestedLabels()
Allows applications to use connection labeling with standard JDBCgetConnection
APIs.-
Methods inherited from interface oracle.ucp.ConnectionLabelingCallback
configure, cost
-
-
-
-
Method Detail
-
getRequestedLabels
java.util.Properties getRequestedLabels()
Allows applications to use connection labeling with standard JDBCgetConnection
APIs. Applications do not need to specify the requested labels as part of thegetConnection
calls.Instead, the connection pool obtains the requested labels by calling this new method.- Returns:
- requested connection labels.
-
-