|
CICS® Transaction Gateway Programming Reference v1.1.0.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.connector2.cics.CICSConnection
public abstract class CICSConnection
This abstract class provides the general CICS connection class. It provides support for the connection metadata and the log writer.
It also supports maintaining the managed connection reference as well as the closed flag. All properties support getters and setters. Some of the properties are allowed direct access for subclasses in the package if the getters/setters are of a "simple" type. This is done for performance reasons.
Method Summary | |
---|---|
void |
close()
Closes this connection if it is not already closed. |
javax.resource.cci.ConnectionMetaData |
getMetaData()
Returns the metadata for this connection. |
javax.resource.cci.ResultSetInfo |
getResultSetInfo()
Returns the resultSetInfo object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.resource.cci.Connection |
---|
createInteraction, getLocalTransaction |
Method Detail |
---|
public javax.resource.cci.ResultSetInfo getResultSetInfo() throws javax.resource.ResourceException
getResultSetInfo
in interface javax.resource.cci.Connection
javax.resource.NotSupportedException
- If feature not supported.
javax.resource.ResourceException
public javax.resource.cci.ConnectionMetaData getMetaData() throws javax.resource.ResourceException
getMetaData
in interface javax.resource.cci.Connection
javax.resource.ResourceException
public void close() throws javax.resource.ResourceException
Attempting to close an already closed connection results in a ResourceException being thrown.
Any method providing a subclass close now cannot throw explicit exceptions. I may provide this facility under a different method name and the subclass will inherit and invoke this method rather than super().close();
close
in interface javax.resource.cci.Connection
javax.resource.ResourceException
- If the connection is already closed.
|
©Copyright IBM Corp. 1994, 2014 Legal |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |