Class CciJMSConnection
java.lang.Object
org.eclipse.persistence.internal.eis.adapters.jms.CciJMSConnection
- All Implemented Interfaces:
Connection
INTERNAL:
Connection to the Oracle JMS JCA adapter.
- Since:
- OracleAS TopLink 10g (10.0.3)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Connectionprotected CciJMSConnectionSpecprotected Sessionprotected CciJMSTransaction -
Constructor Summary
ConstructorsConstructorDescriptionCciJMSConnection(Session session, Connection conn, CciJMSConnectionSpec spec) Construct the CCI connection. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Close the session and the connection.Create a CciJMSInteraction for this connection.Return the JMS connection.Return the connection specification for this connectionReturns the JMSTransaction for this connectionReturn the local transaction for this connectionReturn the connection meta-dataResult sets are not supported.Return the JMS session.
-
Field Details
-
connection
-
connectionSpec
-
session
-
transaction
-
-
Constructor Details
-
CciJMSConnection
Construct the CCI connection.
-
-
Method Details
-
getConnection
Return the JMS connection. -
getSession
Return the JMS session. -
close
Close the session and the connection.- Specified by:
closein interfaceConnection- Throws:
EISException
-
createInteraction
Create a CciJMSInteraction for this connection.- Specified by:
createInteractionin interfaceConnection- Returns:
- a new CciJMSInteraction
-
getConnectionSpec
Return the connection specification for this connection- Returns:
- the CciJMSConnectionSpec
-
getLocalTransaction
Return the local transaction for this connection- Specified by:
getLocalTransactionin interfaceConnection- Returns:
- the CciJMSTransaction as a LocalTransaction
-
getJMSTransaction
Returns the JMSTransaction for this connection- Returns:
- the JMSTransaction
-
getMetaData
Return the connection meta-data- Specified by:
getMetaDatain interfaceConnection- Returns:
- the CciJMSConnectionMetaData for this connection
-
getResultSetInfo
Result sets are not supported.- Specified by:
getResultSetInfoin interfaceConnection
-