Package com.ibm.jakarta.connector2.cics
Class CICSInteraction
java.lang.Object
com.ibm.jakarta.connector2.cics.CICSInteraction
- All Implemented Interfaces:
jakarta.resource.cci.Interaction
- Direct Known Subclasses:
ECIInteraction
,EPIInteraction
Framework abstract class for Interaction.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
Clears any warnings logged.void
close()
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 adaptersjakarta.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
-
CLASS_VERSION
- See Also:
-
-
Method Details
-
getConnection
public jakarta.resource.cci.Connection getConnection()Returns the connection associated with this interaction.- Specified by:
getConnection
in interfacejakarta.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 interfacejakarta.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 interfacejakarta.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 interfacejakarta.resource.cci.Interaction
- Throws:
jakarta.resource.NotSupportedException
jakarta.resource.ResourceException
-
close
public void close() throws jakarta.resource.ResourceExceptionClose this connection. This releases any resources held by this object to assist with garbage collection.- Specified by:
close
in interfacejakarta.resource.cci.Interaction
- Throws:
jakarta.resource.ResourceException
-