|
CICS® Transaction Gateway Programming Reference v7.1.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.connector2.cics.CICSConnection
com.ibm.connector2.cics.ECIConnection
public final class ECIConnection
The ECIConnection class represents an applications handle to an underlying ECIManagedConnection. It is through the ECIConnection that ECIInteractions are created for communicating with a CICS server. An ECIConnection also provides an interface for an application to control its transaction state. You obtain a transaction controller object LocalTransaction using the getLocalTransaction method on this connection.
Method Summary | |
---|---|
void |
close()
Closes the ECI connection, disabling it from further use. |
javax.resource.cci.Interaction |
createInteraction()
Get a new ECIInteraction object with which to flow requests to CICS. |
javax.resource.cci.LocalTransaction |
getLocalTransaction()
Return a CCI local transaction handle for use in controlling the ECIConnections transaction state. |
java.lang.String |
toString()
Returns a string representation of this instance for use in tracing. |
Methods inherited from class com.ibm.connector2.cics.CICSConnection |
---|
getMetaData, getResultSetInfo |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public void close() throws javax.resource.ResourceException
close
in interface javax.resource.cci.Connection
close
in class CICSConnection
javax.resource.ResourceException
- If an error occurs.public javax.resource.cci.Interaction createInteraction() throws javax.resource.ResourceException
javax.resource.ResourceException
- Thrown if the connection is closed.public javax.resource.cci.LocalTransaction getLocalTransaction() throws javax.resource.ResourceException
javax.resource.ResourceException
- Thrown if the connection is closed.public java.lang.String toString()
toString
in class java.lang.Object
|
©Copyright IBM Corp. 1994, 2011 Legal |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |