org.apache.cayenne.conn
Interface ConnectionEventLoggingDelegate

All Known Implementing Classes:
ConnectionEventLogger, 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(java.lang.String url, java.lang.String userName, java.lang.String password)
           
 void logConnectFailure(java.lang.Throwable th)
           
 void logConnectSuccess()
           
 void logPoolCreated(DataSourceInfo info)
           
 

Method Detail

logPoolCreated

void logPoolCreated(DataSourceInfo info)

logConnect

void logConnect(java.lang.String url,
                java.lang.String userName,
                java.lang.String password)

logConnectSuccess

void logConnectSuccess()

logConnectFailure

void logConnectFailure(java.lang.Throwable th)


Copyright © 2001-2006 Apache.org All Rights Reserved.