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() |
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() |
boolean |
isUserSuppliedConnection() |
Connection |
manualDisconnect()
Manually disconnect the underlying JDBC Connection.
|
void |
manualReconnect(Connection suppliedConnection)
Manually reconnect the underlying JDBC Connection.
|
void |
notifyObserversStatementPrepared() |
void |
releaseConnection() |
void |
removeObserver(ConnectionObserver connectionObserver)
Remove an observer
|
close, getConnection, isOpen, isPhysicallyConnected
JdbcServices 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
boolean isAutoCommit()
void notifyObserversStatementPrepared()
boolean isUserSuppliedConnection()
Copyright © 2018 JBoss by Red Hat. All rights reserved.