Skip navigation links
oracle.jms
Class AQjmsXAQueueConnectionFactory
java.lang.Object
oracle.jms.AQjmsConnectionFactory
oracle.jms.AQjmsQueueConnectionFactory
oracle.jms.AQjmsXAQueueConnectionFactory
- All Implemented Interfaces:
- java.io.Serializable, ConnectionFactory, QueueConnectionFactory, XAConnectionFactory, XAQueueConnectionFactory, javax.naming.spi.ObjectFactory
-
public class AQjmsXAQueueConnectionFactory
- extends AQjmsQueueConnectionFactory
- implements XAQueueConnectionFactory
Oracle class implementing javax.jms.XAQueueConnectionFactory,
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AQjmsXAQueueConnectionFactory
public AQjmsXAQueueConnectionFactory()
- Constructs a XAQueueConnectionFactory object. Before using the new factory object to create connections, initializes it by setting its properties.
createXAQueueConnection
public XAQueueConnection createXAQueueConnection()
throws JMSException
- create a XAQueueConnection to the JMS Server hosting this XAQueueConnectionFactory
-
- Specified by:
createXAQueueConnection in interface XAQueueConnectionFactory
-
- Returns:
- a XAQueueConnection
- Throws:
JMSException - if JMS fails to get a XAQueueConnection due to some JMS error
createXAQueueConnection
public XAQueueConnection createXAQueueConnection(java.lang.String username,
java.lang.String password)
throws JMSException
- create a XAQueueConnection using the given username and password for authentication during creation of the XAQueueConnection.
-
- Specified by:
createXAQueueConnection in interface XAQueueConnectionFactory
-
- 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 XAQueueConnection
- Throws:
JMSException - if JMS fails to get a XAQueueConnection due to some JMS error
createXAConnection
public XAConnection createXAConnection()
throws JMSException
- create a XAConnection to the JMS Server hosting this XAQueueConnectionFactory.
-
- 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
Skip navigation links
Copyright © 2003, 2009, Oracle and/or its affiliates. All rights reserved.