Oracle® Streams Advanced Queuing Java API Reference
10g Release 2 (10.2)

B14291-01


oracle.jms
Class AQjmsXAConnection

java.lang.Object
  extended byoracle.jms.AQjmsObject
      extended byoracle.jms.AQjmsConnection
          extended byoracle.jms.AQjmsXAConnection

All Implemented Interfaces:
Connection, QueueConnection, TopicConnection, XAConnection, XAQueueConnection, XATopicConnection

public class AQjmsXAConnection
extends AQjmsConnection
implements XAConnection, XAQueueConnection, XATopicConnection

Oracle class implementing javax.jms.XAConnection, javax.jms.XAQueueConnection, javax.jms.XATopicConnection


Method Summary
XAQueueSession createXAQueueSession()
Creates a XAQueueSession object.
XASession createXASession()
Creates a XASession object.
XATopicSession createXATopicSession()
Creates a XATopicSession object.

Methods inherited from class oracle.jms.AQjmsConnection
close, createConnectionConsumer, createConnectionConsumer, createConnectionConsumer, createDurableConnectionConsumer, createQueueSession, createSession, createTopicSession, getClientID, getCurrentJmsSession, getExceptionListener, getMetaData, getOCIConnectionPool, setClientID, setExceptionListener, start, stop

Methods inherited from class oracle.jms.AQjmsObject
checkClosed, children, finalize, getID, getParent, isOpen, localClose, preClose

Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods inherited from interface javax.jms.XAConnection
createSession

Methods inherited from interface javax.jms.Connection
close, createConnectionConsumer, createDurableConnectionConsumer, getClientID, getExceptionListener, getMetaData, setClientID, setExceptionListener, start, stop

Methods inherited from interface javax.jms.XAQueueConnection
createQueueSession

Methods inherited from interface javax.jms.QueueConnection
createConnectionConsumer

Methods inherited from interface javax.jms.XATopicConnection
createTopicSession

Methods inherited from interface javax.jms.TopicConnection
createConnectionConsumer, createDurableConnectionConsumer

Method Detail

createXASession

public XASession createXASession()
                          throws JMSException
Creates a XASession object.
Specified by:
createXASession in interface XAConnection
Returns:
a newly created XASession
Throws:
JMSException - if the XAConnection object fails to create a XASession due to some internal error
Since:
1.1

createXAQueueSession

public XAQueueSession createXAQueueSession()
                                    throws JMSException
Creates a XAQueueSession object.
Specified by:
createXAQueueSession in interface XAQueueConnection
Returns:
a newly created XAQueueSession
Throws:
JMSException - if the XAQueueConnection object fails to create a XAQueueSession due to some internal error

createXATopicSession

public XATopicSession createXATopicSession()
                                    throws JMSException
Creates a XATopicSession object.
Specified by:
createXATopicSession in interface XATopicConnection
Returns:
a newly created XATopicSession
Throws:
JMSException - if the XATopicConnection object fails to create a XATopicSession due to some internal error

Oracle® Streams Advanced Queuing Java API Reference
10g Release 2 (10.2)

B14291-01


Copyright © 2003, 2005, Oracle. All rights reserved.