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

B14291-01


oracle.jms
Class AQjmsXATopicConnectionFactory

java.lang.Object
  extended byoracle.jms.AQjmsConnectionFactory
      extended byoracle.jms.AQjmsTopicConnectionFactory
          extended byoracle.jms.AQjmsXATopicConnectionFactory

All Implemented Interfaces:
ConnectionFactory, javax.naming.spi.ObjectFactory, javax.naming.Referenceable, java.io.Serializable, TopicConnectionFactory, XAConnectionFactory, XATopicConnectionFactory

public class AQjmsXATopicConnectionFactory
extends AQjmsTopicConnectionFactory
implements XATopicConnectionFactory

Oracle class implementing javax.jms.XATopicConnectionFactory,

See Also:
Serialized Form

Method Summary
XAConnection createXAConnection()
create a XAConnection to the JMS Server hosting this XATopicConnectionFactory.
XAConnection createXAConnection(java.lang.String username, java.lang.String password)
create a XAConnection using the given username and password for authentication during creation of the XAConnection.
XATopicConnection createXATopicConnection()
create a XATopicConnection to the JMS Server hosting this Topic- connection factory.
XATopicConnection createXATopicConnection(java.lang.String username, java.lang.String password)
create a XATopicConnection using the given username and password for authentication during creation of the XATopicConnection.
javax.naming.Reference getReference()
Creates a JMS topic connection factory reference suitable for passing to AQjmsConnectionFactory.getObjectInstance(java.lang.Object, javax.naming.Name, javax.naming.Context, java.util.Hashtable).

Methods inherited from class oracle.jms.AQjmsTopicConnectionFactory
createTopicConnection, createTopicConnection, createTopicConnection

Methods inherited from class oracle.jms.AQjmsConnectionFactory
createConnection, createConnection, getObjectInstance

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

Methods inherited from interface javax.jms.TopicConnectionFactory
createTopicConnection, createTopicConnection

Methods inherited from interface javax.jms.ConnectionFactory
createConnection, createConnection

Method Detail

createXATopicConnection

public XATopicConnection createXATopicConnection()
                                          throws JMSException
create a XATopicConnection to the JMS Server hosting this Topic- connection factory.
Specified by:
createXATopicConnection in interface XATopicConnectionFactory
Returns:
a XATopicConnection
Throws:
JMSException - if JMS fails to get a XATopicConnection due to some JMS error

createXATopicConnection

public XATopicConnection createXATopicConnection(java.lang.String username,
                                                 java.lang.String password)
                                          throws JMSException
create a XATopicConnection using the given username and password for authentication during creation of the XATopicConnection.
Specified by:
createXATopicConnection in interface XATopicConnectionFactory
Parameters:
username - name of the user connecting to the DB for Queueing. password password for the user creating the connection.
password - the caller's password
Returns:
a XATopicConnection
Throws:
JMSException - if JMS fails to get a XATopicConnection due to some JMS error

createXAConnection

public XAConnection createXAConnection()
                                throws JMSException
create a XAConnection to the JMS Server hosting this XATopicConnectionFactory.
Specified by:
createXAConnection in interface XAConnectionFactory
Returns:
a XAConnection
Throws:
JMSException - if JMS fails to get a XAConnection due to some JMS error

createXAConnection

public XAConnection createXAConnection(java.lang.String username,
                                       java.lang.String password)
                                throws JMSException
create a XAConnection using the given username and password for authentication during creation of the XAConnection.
Specified by:
createXAConnection in interface XAConnectionFactory
Parameters:
username - name of the user connecting to the DB for Queueing. password password for the creating the connection to server.
password - the caller's password
Returns:
a XAConnection
Throws:
JMSException - if JMS fails to get a XAConnection due to some JMS error

getReference

public javax.naming.Reference getReference()
Description copied from class: AQjmsTopicConnectionFactory
Creates a JMS topic connection factory reference suitable for passing to AQjmsConnectionFactory.getObjectInstance(java.lang.Object, javax.naming.Name, javax.naming.Context, java.util.Hashtable).
Specified by:
getReference in interface javax.naming.Referenceable
Overrides:
getReference in class AQjmsTopicConnectionFactory
Returns:
a topic connection factory reference with object and factory class names set

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

B14291-01


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