Class ECIConnection

java.lang.Object
com.ibm.jakarta.connector2.cics.CICSConnection
com.ibm.jakarta.connector2.cics.ECIConnection
All Implemented Interfaces:
jakarta.resource.cci.Connection

public final class ECIConnection extends CICSConnection
The ECIConnection class represents a connection to CICS. Through this ECIConnection the user creates an ECIInteration to communicate with a CICS server.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Closes the ECI connection, disabling it from further use.
    jakarta.resource.cci.Interaction
    Get a new ECIInteraction object with which to flow requests to CICS.
    jakarta.resource.cci.LocalTransaction
    Return a CCI local transaction controller object for an application to control the transaction state of the ECIConnection.
    Returns a string representation of this instance for use in tracing.

    Methods inherited from class com.ibm.jakarta.connector2.cics.CICSConnection

    getMetaData, getResultSetInfo

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Method Details

    • close

      public void close() throws jakarta.resource.ResourceException
      Closes the ECI connection, disabling it from further use.
      Specified by:
      close in interface jakarta.resource.cci.Connection
      Overrides:
      close in class CICSConnection
      Throws:
      jakarta.resource.ResourceException - If an error occurs.
    • createInteraction

      public jakarta.resource.cci.Interaction createInteraction() throws jakarta.resource.ResourceException
      Get a new ECIInteraction object with which to flow requests to CICS.
      Returns:
      Interaction The new ECIInteraction object to be used.
      Throws:
      jakarta.resource.ResourceException - Thrown if the connection is closed.
    • getLocalTransaction

      public jakarta.resource.cci.LocalTransaction getLocalTransaction() throws jakarta.resource.ResourceException
      Return a CCI local transaction controller object for an application to control the transaction state of the ECIConnection.
      Returns:
      The CCILocalTransaction object.
      Throws:
      jakarta.resource.ResourceException - Thrown if the connection is closed.
    • toString

      public String toString()
      Returns a string representation of this instance for use in tracing.
      Overrides:
      toString in class Object
      Returns:
      The string representation.