Class CICSInteraction

java.lang.Object
com.ibm.jakarta.connector2.cics.CICSInteraction
All Implemented Interfaces:
jakarta.resource.cci.Interaction
Direct Known Subclasses:
ECIInteraction, EPIInteraction

public abstract class CICSInteraction extends Object implements jakarta.resource.cci.Interaction
Framework abstract class for Interaction.
  • Field Summary

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

    Modifier and Type
    Method
    Description
    void
    Clears any warnings logged.
    void
    Close this connection.
    jakarta.resource.cci.Record
    execute(jakarta.resource.cci.InteractionSpec A, jakarta.resource.cci.Record B)
    This form of execute is not supported by the CICS resource adapters
    jakarta.resource.cci.Connection
    Returns the connection associated with this interaction.
    jakarta.resource.cci.ResourceWarning
    Retrieves the first warning in the warning chain.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface jakarta.resource.cci.Interaction

    execute
  • Field Details

  • Method Details

    • getConnection

      public jakarta.resource.cci.Connection getConnection()
      Returns the connection associated with this interaction.
      Specified by:
      getConnection in interface jakarta.resource.cci.Interaction
      Returns:
      The CCI connection.
    • getWarnings

      public jakarta.resource.cci.ResourceWarning getWarnings()
      Retrieves the first warning in the warning chain. No warnings are logged by the CICS resource adapters, so null is always returned.
      Specified by:
      getWarnings in interface jakarta.resource.cci.Interaction
      Returns:
      The first warning in the chain.
    • clearWarnings

      public void clearWarnings()
      Clears any warnings logged. The CICS resource adapter has no warnings to log. This method does nothing.
      Specified by:
      clearWarnings in interface jakarta.resource.cci.Interaction
    • execute

      public jakarta.resource.cci.Record execute(jakarta.resource.cci.InteractionSpec A, jakarta.resource.cci.Record B) throws jakarta.resource.ResourceException
      This form of execute is not supported by the CICS resource adapters
      Specified by:
      execute in interface jakarta.resource.cci.Interaction
      Throws:
      jakarta.resource.NotSupportedException
      jakarta.resource.ResourceException
    • close

      public void close() throws jakarta.resource.ResourceException
      Close this connection. This releases any resources held by this object to assist with garbage collection.
      Specified by:
      close in interface jakarta.resource.cci.Interaction
      Throws:
      jakarta.resource.ResourceException