Package com.ibm.jakarta.connector2.cics
Class EPIConnection
java.lang.Object
com.ibm.jakarta.connector2.cics.CICSConnection
com.ibm.jakarta.connector2.cics.EPIConnection
- All Implemented Interfaces:
jakarta.resource.cci.Connection
EPIConnection represents the application level connection to a CICS Terminal.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
This method closes a connection.jakarta.resource.cci.Interaction
This method creates an interaction which you use to perform actions on this connection.jakarta.resource.cci.LocalTransaction
This method will throw a NotSupportedException.Methods inherited from class com.ibm.jakarta.connector2.cics.CICSConnection
getMetaData, getResultSetInfo
-
Field Details
-
CLASS_VERSION
- See Also:
-
-
Method Details
-
close
public void close() throws jakarta.resource.ResourceExceptionThis method closes a connection. The Terminal will be reset to an idle state so that another connection gets a clean terminal.- Specified by:
close
in interfacejakarta.resource.cci.Connection
- Overrides:
close
in classCICSConnection
- Throws:
jakarta.resource.ResourceException
- If an error occurs.
-
createInteraction
public jakarta.resource.cci.Interaction createInteraction() throws jakarta.resource.ResourceExceptionThis method creates an interaction which you use to perform actions on this connection.- Returns:
- An Interaction you can use on this connection.
- Throws:
jakarta.resource.ResourceException
-
getLocalTransaction
public jakarta.resource.cci.LocalTransaction getLocalTransaction() throws jakarta.resource.ResourceExceptionThis method will throw a NotSupportedException. Transactions are not available using this resource adapter.- Throws:
jakarta.resource.NotSupportedException
jakarta.resource.ResourceException
-