|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mulesoft.adapter.ra.CCIConnection
public class CCIConnection
CciConnection represents an JCA 1.0 compliant connection implementation.
It is used by the XI AF module processor to access the resource adapter for the
outbound (XI->ra) direction.
| Method Summary | |
|---|---|
void |
close()
The XI AF module processor calls close() to free a connection if it will not be used anymore. |
javax.resource.cci.Interaction |
createInteraction()
Factory method to create an interaction that operates on this connections According to JCA the relationship between connection:interaction is 1:n (CCI JCA 1.0) |
javax.resource.cci.LocalTransaction |
getLocalTransaction()
Returns new local transaction. |
javax.resource.cci.ConnectionMetaData |
getMetaData()
Returns the descriptive connection meta data of this connection (CCI JCA 1.0) |
javax.resource.cci.ResultSetInfo |
getResultSetInfo()
Returns a result set Since result sets MUST NOT be used in the context of XI AF. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public javax.resource.cci.Interaction createInteraction()
throws javax.resource.ResourceException
createInteraction in interface javax.resource.cci.Connectionjavax.resource.ResourceException - Thrown if managed connection is invalid
public javax.resource.cci.LocalTransaction getLocalTransaction()
throws javax.resource.ResourceException
getLocalTransaction in interface javax.resource.cci.Connectionjavax.resource.NotSupportedException - Always thrown
javax.resource.ResourceException
public javax.resource.cci.ResultSetInfo getResultSetInfo()
throws javax.resource.ResourceException
getResultSetInfo in interface javax.resource.cci.Connectionjavax.resource.NotSupportedException - Always thrown
javax.resource.ResourceException
public void close()
throws javax.resource.ResourceException
close() to free a connection if it will not be used anymore.
According to JCA 1.0 the CCI connection must delegate this information to the underlying managed connection.
How this is done and whether the managed connection will be closed is ra implementation specific.
In this sample the managedConnection is informed via removeCciConnection().
(CCI JCA 1.0)
close in interface javax.resource.cci.Connectionjavax.resource.ResourceException - Passed if thrown below
public javax.resource.cci.ConnectionMetaData getMetaData()
throws javax.resource.ResourceException
getMetaData in interface javax.resource.cci.Connectionjavax.resource.NotSupportedException - Thrown if meta data object cannot be created
javax.resource.ResourceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||