A ManagedConnection instance represents a connection to the underlying
recource. A ManagedConnection provides access to the two transaction
interfaces, XAResource and LocalTransaction. These interfaces are used to
manage transactions on the resource.
Associates a new application level connection handle with the connection.
Parameters: connection - the connection throws: ResourceException - for a generic error throws: IllegalStateException - for an illegal state throws: ResourceAdapterInternalException - for an internal error in theresource adapter
Application server calls this to force cleanup of connection.
throws: ResourceException - for a generic error throws: ResourceAdapterInternalException - for an internal error in theresource adapter throws: IllegalStateException - if the connection is not a legal state for cleanup
Destroys the connection to the underlying resource.
throws: ResourceException - for a generic error throws: IllegalStateException - if the connection is not a legal state for destruction
Creates a new connection handle for the underlying connection.
Parameters: subject - the subject Parameters: cxRequestInfo - the connection request info throws: ResourceException - for a generic error throws: ResourceAdapterInternalException - for an internal error in theresource adapter throws: SecurityException - for a security problem throws: CommException - for a communication failure with the EIS throws: EISSystemException - for an error from the EIS
Returns a LocalTransaction instance.
the local transaction throws: ResourceException - for a generic error throws: NotSupportedException - if not supported throws: ResourceAdapterInternalException - for an internal error in theresource adapter
Gets metadata inormation for this instances underlying resource manager
instance.
the managed connection meta data throws: ResourceException - for a generic error throws: NotSupportedException - if not supported
Returns an XAResource instance.
the XAResource throws: ResourceException - for a generic error throws: NotSupportedException - if not supported throws: ResourceAdapterInternalException - for an internal error in theresource adapter
Sets the logwriter for this instance.
Parameters: out - the writer throws: ResourceException - for a generic error throws: ResourceAdapterInternalException - for an internal error in theresource adapter