|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HarvestableConnection
Interface supporting Connection Harvesting for JDBC
java.sql.Connections
.
PoolDataSource
,
ConnectionHarvestingCallback
Method Summary | |
---|---|
boolean |
isConnectionHarvestable()
Specifies whether this connection is harvestable. |
void |
registerConnectionHarvestingCallback(ConnectionHarvestingCallback cbk)
Registers a ConnectionHarvestingCallback with the this connection. |
void |
removeConnectionHarvestingCallback()
Removes the ConnectionHarvestingCallback object registered with this connection, if any. |
void |
setConnectionHarvestable(boolean isConnectionHarvestable)
Specifies whether this connection is harvestable. |
Method Detail |
---|
void setConnectionHarvestable(boolean isConnectionHarvestable) throws SQLException
isConnectionHarvestable
- Whether this connection is harvestable.
SQLException
- If this connection was closed.boolean isConnectionHarvestable() throws SQLException
True
if so and false
otherwise.
SQLException
- If an error occurs.void registerConnectionHarvestingCallback(ConnectionHarvestingCallback cbk) throws SQLException
cbk
- The ConnectionHarvestingCallback object to be registered.
SQLException
- If there is a callback already
registered with the connection.void removeConnectionHarvestingCallback() throws SQLException
SQLException
- If callback removal fails.
|
Copyright 1996, 2014, 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.1.3) Part Number E41849-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |