public abstract class BasicConnection extends Object implements javax.resource.cci.Connection, Connection
| Constructor and Description |
|---|
BasicConnection() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUp()
Called by the
ManagedConnection to indicate the physical connection
should be cleaned up for reuse. |
javax.resource.cci.Interaction |
createInteraction() |
javax.resource.cci.LocalTransaction |
getLocalTransaction() |
javax.resource.cci.ConnectionMetaData |
getMetaData() |
javax.resource.cci.ResultSetInfo |
getResultSetInfo() |
XAResource |
getXAResource() |
boolean |
isAlive()
Tests the connection to see if it is still valid.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosepublic javax.resource.cci.Interaction createInteraction()
throws javax.resource.ResourceException
javax.resource.ResourceExceptionpublic javax.resource.cci.LocalTransaction getLocalTransaction()
throws javax.resource.ResourceException
javax.resource.ResourceExceptionpublic javax.resource.cci.ConnectionMetaData getMetaData()
throws javax.resource.ResourceException
javax.resource.ResourceExceptionpublic javax.resource.cci.ResultSetInfo getResultSetInfo()
throws javax.resource.ResourceException
javax.resource.ResourceExceptionpublic XAResource getXAResource() throws javax.resource.ResourceException
javax.resource.ResourceExceptionpublic boolean isAlive()
public void cleanUp()
ManagedConnection to indicate the physical connection
should be cleaned up for reuse.Copyright © 2019. All rights reserved.