public interface LogicalConnectionImplementor extends LogicalConnection
| Modifier and Type | Method and Description | 
|---|---|
void | 
addObserver(ConnectionObserver observer)
Add an observer interested in notification of connection events. 
 | 
void | 
aggressiveRelease()
Perform an aggressive release 
 | 
ConnectionReleaseMode | 
getConnectionReleaseMode()
The release mode under which this logical connection is operating. 
 | 
JdbcServices | 
getJdbcServices()
Obtains the JDBC services associated with this logical connection. 
 | 
boolean | 
isAutoCommit()
Is this logical connection in auto-commit mode? 
 | 
boolean | 
isUserSuppliedConnection()
Does this logical connection wrap a user/application supplied connection? 
 | 
Connection | 
manualDisconnect()
Manually disconnect the underlying JDBC Connection. 
 | 
void | 
manualReconnect(Connection suppliedConnection)
Manually reconnect the underlying JDBC Connection. 
 | 
void | 
notifyObserversStatementPrepared()
Callback to notify all registered observers of a connection being prepared. 
 | 
void | 
releaseConnection()
Release any held connection. 
 | 
void | 
removeObserver(ConnectionObserver connectionObserver)
Remove an observer 
 | 
close, getConnection, isOpen, isPhysicallyConnectedJdbcServices getJdbcServices()
void addObserver(ConnectionObserver observer)
observer - The observer.void removeObserver(ConnectionObserver connectionObserver)
connectionObserver - The observer to remove.ConnectionReleaseMode getConnectionReleaseMode()
Connection manualDisconnect()
void manualReconnect(Connection suppliedConnection)
suppliedConnection - For user supplied connection strategy the user needs to hand us the connection
 with which to reconnect.  It is an error to pass a connection in the other strategies.void aggressiveRelease()
void releaseConnection()
                       throws JDBCException
JDBCException - Indicates a problem releasing the connectionboolean isAutoCommit()
true if auto-commitvoid notifyObserversStatementPrepared()
boolean isUserSuppliedConnection()
true if the underlying connection was user supplied.Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.