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.


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)


Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.