ConnectionObserver (Hibernate JavaDocs)
Date: 2012-04-05

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hibernate.engine.jdbc.spi
Interface ConnectionObserver

All Known Subinterfaces:
  NonDurableConnectionObserver

All Known Implementing Classes:
  ConnectionObserverAdapter, ConnectionObserverStatsBridge, ConnectionProxyHandler

    public interface ConnectionObserver

An observer of logical connection events.

Method Summary
`void` | `logicalConnectionClosed()` The logical connection was closed.
`void` | `physicalConnectionObtained(Connection connection)` A physical connection was obtained.
`void` | `physicalConnectionReleased()` A physical connection was released.
`void` | `statementPrepared()` Notification of a statement being prepared

Method Detail

### physicalConnectionObtained

    void physicalConnectionObtained(Connection connection)

  A physical connection was obtained.

  Parameters:
    `connection` - The physical connection just obtained.

### physicalConnectionReleased

    void physicalConnectionReleased()

  A physical connection was released.

### logicalConnectionClosed

    void logicalConnectionClosed()

  The logical connection was closed.

### statementPrepared

    void statementPrepared()

  Notification of a statement being prepared

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.