| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LogicalConnectionImplementor
The "internal" contract for LogicalConnection
| Method Summary | |
|---|---|
 void | 
addObserver(ConnectionObserver observer)
Add an observer interested in notification of connection events.  | 
 void | 
afterStatementExecution()
Used to signify that a statement has completed execution which may indicate that this logical connection need to perform an aggressive release of its physical connection.  | 
 void | 
afterTransaction()
Used to signify that a transaction has completed which may indicate that this logical connection need to perform an aggressive release of its physical connection.  | 
 void | 
disableReleases()
Manually (and temporarily) circumvent aggressive release processing.  | 
 void | 
enableReleases()
Re-enable aggressive release processing (after a prior disableReleases() call. | 
 ConnectionReleaseMode | 
getConnectionReleaseMode()
The release mode under which this logical connection is operating.  | 
 JdbcServices | 
getJdbcServices()
Obtains the JDBC services associated with this logical connection.  | 
 JdbcResourceRegistry | 
getResourceRegistry()
Obtains the JDBC resource registry associated with this logical connection.  | 
 boolean | 
isAutoCommit()
 | 
 boolean | 
isReadyForSerialization()
 | 
 Connection | 
manualDisconnect()
Manually disconnect the underlying JDBC Connection.  | 
 void | 
manualReconnect(Connection suppliedConnection)
Manually reconnect the underlying JDBC Connection.  | 
 void | 
notifyObserversStatementPrepared()
 | 
 void | 
removeObserver(ConnectionObserver connectionObserver)
Remove an observer  | 
| Methods inherited from interface org.hibernate.engine.jdbc.spi.LogicalConnection | 
|---|
close, getConnection, getDistinctConnectionProxy, getShareableConnectionProxy, isOpen, isPhysicallyConnected | 
| Method Detail | 
|---|
JdbcServices getJdbcServices()
JdbcResourceRegistry getResourceRegistry()
void addObserver(ConnectionObserver observer)
observer - The observer.void removeObserver(ConnectionObserver connectionObserver)
connectionObserver - The observer to remove.ConnectionReleaseMode getConnectionReleaseMode()
void afterStatementExecution()
void afterTransaction()
afterTransaction in interface LogicalConnectionvoid disableReleases()
void enableReleases()
disableReleases() call.
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.boolean isAutoCommit()
boolean isReadyForSerialization()
void notifyObserversStatementPrepared()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||