CICS® Transaction Gateway Programming Reference v7.1.0.5

com.ibm.connector2.cics
Class EPIConnection

java.lang.Object
  extended by com.ibm.connector2.cics.CICSConnection
      extended by com.ibm.connector2.cics.EPIConnection
All Implemented Interfaces:
javax.resource.cci.Connection

public final class EPIConnection
extends CICSConnection

EPIConnection represents the application level connection to a CICS Terminal.


Method Summary
 void close()
          This method closes a connection.
 javax.resource.cci.Interaction createInteraction()
          This method creates an interaction which you use to perform actions on this connection.
 javax.resource.cci.LocalTransaction getLocalTransaction()
          This method will throw a NotSupportedException.
 
Methods inherited from class com.ibm.connector2.cics.CICSConnection
getMetaData, getResultSetInfo
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

close

public void close()
           throws javax.resource.ResourceException
This 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 interface javax.resource.cci.Connection
Overrides:
close in class CICSConnection
Throws:
javax.resource.ResourceException - If an error occurs.

createInteraction

public javax.resource.cci.Interaction createInteraction()
                                                 throws javax.resource.ResourceException
This method creates an interaction which you use to perform actions on this connection.

Returns:
An Interaction you can use on this connection.
Throws:
javax.resource.ResourceException

getLocalTransaction

public javax.resource.cci.LocalTransaction getLocalTransaction()
                                                        throws javax.resource.ResourceException
This method will throw a NotSupportedException. Transactions are not available using this resource adapter.

Throws:
javax.resource.NotSupportedException
javax.resource.ResourceException

©Copyright IBM Corp. 1994, 2011
Legal