java.lang.Object
org.objectstyle.cayenne.access.util.ConnectionEventLogger
- All Implemented Interfaces:
- org.objectstyle.cayenne.conn.ConnectionEventLoggingDelegate
- public class ConnectionEventLogger
- extends java.lang.Object
- implements org.objectstyle.cayenne.conn.ConnectionEventLoggingDelegate
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logLevel
protected org.apache.log4j.Level logLevel
ConnectionEventLogger
public ConnectionEventLogger(org.apache.log4j.Level logLevel)
logConnect
public void logConnect(java.lang.String url,
java.lang.String userName,
java.lang.String password)
- Specified by:
logConnect in interface org.objectstyle.cayenne.conn.ConnectionEventLoggingDelegate
logConnectFailure
public void logConnectFailure(java.lang.Throwable th)
- Specified by:
logConnectFailure in interface org.objectstyle.cayenne.conn.ConnectionEventLoggingDelegate
logConnectSuccess
public void logConnectSuccess()
- Specified by:
logConnectSuccess in interface org.objectstyle.cayenne.conn.ConnectionEventLoggingDelegate
logPoolCreated
public void logPoolCreated(org.objectstyle.cayenne.conn.DataSourceInfo info)
- Specified by:
logPoolCreated in interface org.objectstyle.cayenne.conn.ConnectionEventLoggingDelegate