Class WrappedConnection
- java.lang.Object
-
- org.apache.manifoldcf.core.jdbcpool.WrappedConnection
-
public class WrappedConnection extends java.lang.ObjectThe class that represents a connection from a pool.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_rcsidprotected java.sql.Connectionconnectionprotected java.lang.ExceptioninstantiationExceptionException, to keep track of where the connection was allocatedprotected ConnectionPoolowner
-
Constructor Summary
Constructors Constructor Description WrappedConnection(ConnectionPool owner, java.sql.Connection connection)ConstructorWrappedConnection(ConnectionPool owner, java.sql.Connection connection, java.lang.Exception instantiationException)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.sql.ConnectiongetConnection()Get the JDBC connection object.java.lang.ExceptiongetInstantiationException()Get instantiation exception.voidrelease()Release the object into its pool.
-
-
-
Field Detail
-
_rcsid
public static final java.lang.String _rcsid
- See Also:
- Constant Field Values
-
connection
protected java.sql.Connection connection
-
owner
protected ConnectionPool owner
-
instantiationException
protected java.lang.Exception instantiationException
Exception, to keep track of where the connection was allocated
-
-
Constructor Detail
-
WrappedConnection
public WrappedConnection(ConnectionPool owner, java.sql.Connection connection)
Constructor
-
WrappedConnection
public WrappedConnection(ConnectionPool owner, java.sql.Connection connection, java.lang.Exception instantiationException)
Constructor
-
-