public abstract class CICSConnection
extends java.lang.Object
implements javax.resource.cci.Connection
| Modifier and Type | Method and Description |
|---|---|
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.
|
public javax.resource.cci.ResultSetInfo getResultSetInfo()
throws javax.resource.ResourceException
getResultSetInfo in interface javax.resource.cci.Connectionjavax.resource.NotSupportedException - If feature not supported.javax.resource.ResourceExceptionpublic javax.resource.cci.ConnectionMetaData getMetaData()
throws javax.resource.ResourceException
getMetaData in interface javax.resource.cci.Connectionjavax.resource.ResourceExceptionpublic 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. This facility can be provided under a different method name and the subclass will inherit and invoke this method rather than super().close();
close in interface javax.resource.cci.Connectionjavax.resource.ResourceException - If the connection is already closed.