Skip navigation links

Oracle® Universal Connection Pool for JDBC Java API Reference
12c Release 1 (12.1)

E17662-07


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 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 Summary
 java.util.Properties getRequestedLabels()
          Allows applications to use connection labeling with standard JDBC getConnection 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 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.

Skip navigation links

Oracle® Universal Connection Pool for JDBC Java API Reference
12c Release 1 (12.1)

E17662-07


Copyright © 2007, 2013, Oracle and/or its affiliates. All rights reserved.