com.ibm.connector2.cics
Class ECIConnection

java.lang.Object
  extended bycom.ibm.connector2.cics.ECIConnection

public final class ECIConnection
extends java.lang.Object

The ECIConnection class represents an applications handle to an underlying ECIManagedConnection. It is through the ECIConnection that ECIInteractions are created for communicating with a CICS server.


Field Summary
static java.lang.String CLASS_VERSION
           
 
Method Summary
 void close()
          Closes the ECI Connection, disabling it from further use.
 Interaction createInteraction()
          Get a new ECIInteraction object with which to flow requests to CICS.
 javax.resource.cci.LocalTransaction getLocalTransaction()
          This method is not supported in CCI for CICS TS.
 javax.resource.cci.ConnectionMetaData getMetaData()
          returns the Meta Data for this Connection
 javax.resource.cci.ResultSetInfo getResultSetInfo()
          Returns the resultSetInfo object.
 java.lang.String toString()
          String method for use in tracing.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static final java.lang.String CLASS_VERSION
See Also:
Constant Field Values
Method Detail

close

public void close()
           throws ResourceException
Closes the ECI Connection, disabling it from further use.

Throws:
ResourceException

createInteraction

public Interaction createInteraction()
                              throws ResourceException
Get a new ECIInteraction object with which to flow requests to CICS.

Returns:
Interaction The new ECIInteraction object to be used.
Throws:
ResourceException - Thrown if Connection is closed.

getLocalTransaction

public javax.resource.cci.LocalTransaction getLocalTransaction()
                                                        throws ResourceException
This method is not supported in CCI for CICS TS.

Throws:
NotSupportedException - This exception is always thrown
ResourceException

toString

public java.lang.String toString()
String method for use in tracing.


getResultSetInfo

public javax.resource.cci.ResultSetInfo getResultSetInfo()
                                                  throws javax.resource.ResourceException
Returns the resultSetInfo object. Not Supported by CICS Resource Adapters so will always result in a throw.

Returns:
ResultSetInfo
Throws:
javax.resource.NotSupportedException - If feature not supported.
javax.resource.ResourceException

getMetaData

public javax.resource.cci.ConnectionMetaData getMetaData()
                                                  throws ResourceException
returns the Meta Data for this Connection

Returns:
Connection Meta Data
Throws:
ResourceException