com.ibm.connector2.cics

Class CICSInteraction

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


    public abstract class CICSInteraction
    extends java.lang.Object
    implements javax.resource.cci.Interaction
    Framework abstract class for Interaction.

    This class provides support for the logWriter and connection properties. It also provides the support for warnings which aren't available in ECI or EPI resource adapters.

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void clearWarnings()
      Clears any warnings logged.
      void close()
      Close this connection.
      javax.resource.cci.Record execute(javax.resource.cci.InteractionSpec A, javax.resource.cci.Record B)
      This form of execute is not supported by the CICS resource adapters
      javax.resource.cci.Connection getConnection()
      Returns the connection associated with this interaction.
      javax.resource.cci.ResourceWarning getWarnings()
      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 javax.resource.cci.Interaction

        execute
    • Method Detail

      • getConnection

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

        public javax.resource.cci.ResourceWarning getWarnings()
        Retrieves the first warning in the warning chain. No warnings are logged by the CICS resource adapters, so null will always be returned.
        Specified by:
        getWarnings in interface javax.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 javax.resource.cci.Interaction
      • execute

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

        public void close()
                   throws javax.resource.ResourceException
        Close this connection. This releases any resources held by this object to assist with garbage collection.
        Specified by:
        close in interface javax.resource.cci.Interaction
        Throws:
        javax.resource.ResourceException
©Copyright IBM Corp. 1994, 2012
Legal