com.prolifics.tconn
Class ConnectionImpl

java.lang.Object
  extended by com.prolifics.tconn.ConnectionImpl
All Implemented Interfaces:
Closeable, javax.resource.cci.Connection

public class ConnectionImpl
extends java.lang.Object
implements javax.resource.cci.Connection, Closeable


Constructor Summary
ConnectionImpl(ManagedConnectionHandle mch, javax.security.auth.Subject s, javax.resource.spi.ConnectionRequestInfo cri)
           
 
Method Summary
 void associateConnection(ManagedConnectionHandle mch)
           
 void close()
           
 javax.resource.cci.Interaction createInteraction()
           
 boolean getAutoCommit()
          Deprecated. Supported only for backwards compatibility with Proposed Final Draft #2 of Connector Architecture Specification 1.0.
 javax.resource.spi.ManagedConnection getConnection()
           
 javax.resource.cci.LocalTransaction getLocalTransaction()
           
 javax.resource.cci.ConnectionMetaData getMetaData()
           
 javax.resource.cci.ResultSetInfo getResultSetInfo()
           
 void setAutoCommit(boolean ac)
          Deprecated. Supported only for backwards compatibility with Proposed Final Draft #2 of Connector Architecture Specification 1.0.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionImpl

public ConnectionImpl(ManagedConnectionHandle mch,
                      javax.security.auth.Subject s,
                      javax.resource.spi.ConnectionRequestInfo cri)
Method Detail

associateConnection

public void associateConnection(ManagedConnectionHandle mch)

getConnection

public javax.resource.spi.ManagedConnection getConnection()
                                                   throws javax.resource.ResourceException
Throws:
javax.resource.ResourceException

close

public void close()
           throws javax.resource.ResourceException
Specified by:
close in interface Closeable
Specified by:
close in interface javax.resource.cci.Connection
Throws:
javax.resource.ResourceException

createInteraction

public javax.resource.cci.Interaction createInteraction()
                                                 throws javax.resource.ResourceException
Specified by:
createInteraction in interface javax.resource.cci.Connection
Throws:
javax.resource.ResourceException

getLocalTransaction

public javax.resource.cci.LocalTransaction getLocalTransaction()
                                                        throws javax.resource.ResourceException
Specified by:
getLocalTransaction in interface javax.resource.cci.Connection
Throws:
javax.resource.ResourceException

getMetaData

public javax.resource.cci.ConnectionMetaData getMetaData()
                                                  throws javax.resource.ResourceException
Specified by:
getMetaData in interface javax.resource.cci.Connection
Throws:
javax.resource.ResourceException

getResultSetInfo

public javax.resource.cci.ResultSetInfo getResultSetInfo()
                                                  throws javax.resource.ResourceException
Specified by:
getResultSetInfo in interface javax.resource.cci.Connection
Throws:
javax.resource.ResourceException

getAutoCommit

public boolean getAutoCommit()
                      throws javax.resource.ResourceException
Deprecated. Supported only for backwards compatibility with Proposed Final Draft #2 of Connector Architecture Specification 1.0.

Throws:
javax.resource.ResourceException

setAutoCommit

public void setAutoCommit(boolean ac)
                   throws javax.resource.ResourceException
Deprecated. Supported only for backwards compatibility with Proposed Final Draft #2 of Connector Architecture Specification 1.0.

Throws:
javax.resource.ResourceException