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
Modifier and TypeFieldDescriptionprotected Connection
protected CciJMSConnectionSpec
protected Session
protected CciJMSTransaction
-
Constructor Summary
ConstructorDescriptionCciJMSConnection
(Session session, Connection conn, CciJMSConnectionSpec spec) Construct the CCI connection. -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
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:
close
in interfaceConnection
- Throws:
EISException
-
createInteraction
Create a CciJMSInteraction for this connection.- Specified by:
createInteraction
in 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:
getLocalTransaction
in 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:
getMetaData
in interfaceConnection
- Returns:
- the CciJMSConnectionMetaData for this connection
-
getResultSetInfo
Result sets are not supported.- Specified by:
getResultSetInfo
in interfaceConnection
-