java.lang.Object
org.eclipse.persistence.internal.eis.adapters.jms.CciJMSConnection
All Implemented Interfaces:
Connection

public class CciJMSConnection extends Object implements Connection
INTERNAL: Connection to the Oracle JMS JCA adapter.
Since:
OracleAS TopLink 10g (10.0.3)
  • Field Details

  • Constructor Details

  • Method Details

    • getConnection

      public Connection getConnection()
      Return the JMS connection.
    • getSession

      public Session getSession()
      Return the JMS session.
    • close

      public void close() throws EISException
      Close the session and the connection.
      Specified by:
      close in interface Connection
      Throws:
      EISException
    • createInteraction

      public Interaction createInteraction()
      Create a CciJMSInteraction for this connection.
      Specified by:
      createInteraction in interface Connection
      Returns:
      a new CciJMSInteraction
    • getConnectionSpec

      public CciJMSConnectionSpec getConnectionSpec()
      Return the connection specification for this connection
      Returns:
      the CciJMSConnectionSpec
    • getLocalTransaction

      public LocalTransaction getLocalTransaction()
      Return the local transaction for this connection
      Specified by:
      getLocalTransaction in interface Connection
      Returns:
      the CciJMSTransaction as a LocalTransaction
    • getJMSTransaction

      public CciJMSTransaction getJMSTransaction()
      Returns the JMSTransaction for this connection
      Returns:
      the JMSTransaction
    • getMetaData

      public ConnectionMetaData getMetaData()
      Return the connection meta-data
      Specified by:
      getMetaData in interface Connection
      Returns:
      the CciJMSConnectionMetaData for this connection
    • getResultSetInfo

      public ResultSetInfo getResultSetInfo()
      Result sets are not supported.
      Specified by:
      getResultSetInfo in interface Connection