org.apache.cayenne.access
Class ConnectionLogger
java.lang.Object
   org.apache.cayenne.access.ConnectionLogger
org.apache.cayenne.access.ConnectionLogger
- All Implemented Interfaces: 
- ConnectionEventLoggingDelegate
- public class ConnectionLogger 
- extends Object- implements ConnectionEventLoggingDelegate
Adapts QueryLogger to be used as a
 ConnectionEventLoggingDelegate with Cayenne
 connection pools.
- Since:
- 1.2
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ConnectionLogger
public ConnectionLogger()
logConnect
public void logConnect(String url,
                       String userName,
                       String password)
- 
- Specified by:
- logConnectin interface- ConnectionEventLoggingDelegate
 
- 
 
logConnectFailure
public void logConnectFailure(Throwable th)
- 
- Specified by:
- logConnectFailurein interface- ConnectionEventLoggingDelegate
 
- 
 
logConnectSuccess
public void logConnectSuccess()
- 
- Specified by:
- logConnectSuccessin interface- ConnectionEventLoggingDelegate
 
- 
 
logPoolCreated
public void logPoolCreated(DataSourceInfo info)
- 
- Specified by:
- logPoolCreatedin interface- ConnectionEventLoggingDelegate
 
- 
 
Copyright © 2001-2011 Apache Cayenne. All Rights Reserved.