com.nonesole.persistence.connectionpool
Class DriverPooledConnection
java.lang.Object
com.nonesole.persistence.connectionpool.DriverPooledConnection
- All Implemented Interfaces:
- javax.sql.PooledConnection
public class DriverPooledConnection
- extends java.lang.Object
- implements javax.sql.PooledConnection
Pooled connection class.
- Version:
- 1.0 - build in 2009-07-05
- Author:
- JACK LEE
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONNECTION_CLOSED
public static final int CONNECTION_CLOSED
- Close normally
- See Also:
- Constant Field Values
CONNECTION_ERROR_OCCURRED
public static final int CONNECTION_ERROR_OCCURRED
- Close by error
- See Also:
- Constant Field Values
close
public void close()
throws java.sql.SQLException
- Specified by:
close
in interface javax.sql.PooledConnection
- Throws:
java.sql.SQLException
getConnection
public java.sql.Connection getConnection()
throws java.sql.SQLException
- Specified by:
getConnection
in interface javax.sql.PooledConnection
- Throws:
java.sql.SQLException
addConnectionEventListener
public void addConnectionEventListener(javax.sql.ConnectionEventListener listener)
- Specified by:
addConnectionEventListener
in interface javax.sql.PooledConnection
removeConnectionEventListener
public void removeConnectionEventListener(javax.sql.ConnectionEventListener listener)
- Specified by:
removeConnectionEventListener
in interface javax.sql.PooledConnection