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.apache.cayenne.conn
Interface ConnectionEventLoggingDelegate

All Known Implementing Classes:
  ConnectionLogger

    public interface ConnectionEventLoggingDelegate

A callback API to used by `DriverDataSource` and `PoolManager` to notify of connection events. Used mainly for logging.

Author:
  Andrus Adamchik

Method Summary
`void` | `logConnect(String url, String userName, String password)`
`void` | `logConnectFailure(Throwable th)`
`void` | `logConnectSuccess()`
`void` | `logPoolCreated(DataSourceInfo info)`

Method Detail

### logPoolCreated

    void logPoolCreated(DataSourceInfo info)

### logConnect

    void logConnect(String url,
                    String userName,
                    String password)

### logConnectSuccess

    void logConnectSuccess()

### logConnectFailure

    void logConnectFailure(Throwable th)

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-2008 Apache Cayenne. All Rights Reserved.