Package oracle.ucp.jdbc
Interface ConnectionLabelingCallback
- All Superinterfaces:
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 getRequestedLabelsin this new interface
allows applications to use connection labeling with standard JDBC
getConnection APIs. Applications do not need to specify the
requested labels as part of the getConnection calls. Instead,
the connection pool obtains the requested labels by calling this new method.
-
Method Summary
Modifier and TypeMethodDescriptionAllows applications to use connection labeling with standard JDBCgetConnectionAPIs.Methods inherited from interface oracle.ucp.ConnectionLabelingCallback
configure, configureAsync, cost
-
Method Details
-
getRequestedLabels
Properties getRequestedLabels()Allows applications to use connection labeling with standard JDBCgetConnectionAPIs. Applications do not need to specify the requested labels as part of thegetConnectioncalls.Instead, the connection pool obtains the requested labels by calling this new method.- Returns:
- requested connection labels.
-