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 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.

    See Also:
    ConnectionLabelingCallback, UniversalConnectionPool, PoolDataSource
    • Method Detail

      • getRequestedLabels

        java.util.Properties getRequestedLabels()
        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.
        Returns:
        requested connection labels.