public class QpidRAConnectionFactoryImpl extends Object implements QpidRAConnectionFactory
CONNECTION, QUEUE_CONNECTION, TOPIC_CONNECTION, XA_CONNECTION, XA_QUEUE_CONNECTION, XA_TOPIC_CONNECTION| Constructor and Description |
|---|
QpidRAConnectionFactoryImpl(QpidRAManagedConnectionFactory mcf,
javax.resource.spi.ConnectionManager cm)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
javax.jms.Connection |
createConnection()
Create a connection
|
javax.jms.Connection |
createConnection(String userName,
String password)
Create a connection
|
javax.jms.QueueConnection |
createQueueConnection()
Create a queue connection
|
javax.jms.QueueConnection |
createQueueConnection(String userName,
String password)
Create a queue connection
|
javax.jms.TopicConnection |
createTopicConnection()
Create a topic connection
|
javax.jms.TopicConnection |
createTopicConnection(String userName,
String password)
Create a topic connection
|
javax.jms.XAConnection |
createXAConnection()
Create a XA connection
|
javax.jms.XAConnection |
createXAConnection(String userName,
String password)
Create a XA connection
|
javax.jms.XAQueueConnection |
createXAQueueConnection()
Create a XA queue connection
|
javax.jms.XAQueueConnection |
createXAQueueConnection(String userName,
String password)
Create a XA queue connection
|
javax.jms.XATopicConnection |
createXATopicConnection()
Create a XA topic connection
|
javax.jms.XATopicConnection |
createXATopicConnection(String userName,
String password)
Create a XA topic connection
|
Reference |
getReference()
Get the reference
|
void |
setReference(Reference reference)
Set the reference
|
public QpidRAConnectionFactoryImpl(QpidRAManagedConnectionFactory mcf, javax.resource.spi.ConnectionManager cm)
mcf - The managed connection factorycm - The connection managerpublic void setReference(Reference reference)
reference - The referencepublic Reference getReference()
getReference in interface Referenceablepublic javax.jms.QueueConnection createQueueConnection()
throws javax.jms.JMSException
createQueueConnection in interface javax.jms.QueueConnectionFactoryjavax.jms.JMSException - Thrown if the operation failspublic javax.jms.QueueConnection createQueueConnection(String userName, String password) throws javax.jms.JMSException
createQueueConnection in interface javax.jms.QueueConnectionFactoryuserName - The user namepassword - The passwordjavax.jms.JMSException - Thrown if the operation failspublic javax.jms.TopicConnection createTopicConnection()
throws javax.jms.JMSException
createTopicConnection in interface javax.jms.TopicConnectionFactoryjavax.jms.JMSException - Thrown if the operation failspublic javax.jms.TopicConnection createTopicConnection(String userName, String password) throws javax.jms.JMSException
createTopicConnection in interface javax.jms.TopicConnectionFactoryuserName - The user namepassword - The passwordjavax.jms.JMSException - Thrown if the operation failspublic javax.jms.Connection createConnection()
throws javax.jms.JMSException
createConnection in interface javax.jms.ConnectionFactoryjavax.jms.JMSException - Thrown if the operation failspublic javax.jms.Connection createConnection(String userName, String password) throws javax.jms.JMSException
createConnection in interface javax.jms.ConnectionFactoryuserName - The user namepassword - The passwordjavax.jms.JMSException - Thrown if the operation failspublic javax.jms.XAQueueConnection createXAQueueConnection()
throws javax.jms.JMSException
createXAQueueConnection in interface javax.jms.XAQueueConnectionFactoryjavax.jms.JMSException - Thrown if the operation failspublic javax.jms.XAQueueConnection createXAQueueConnection(String userName, String password) throws javax.jms.JMSException
createXAQueueConnection in interface javax.jms.XAQueueConnectionFactoryuserName - The user namepassword - The passwordjavax.jms.JMSException - Thrown if the operation failspublic javax.jms.XATopicConnection createXATopicConnection()
throws javax.jms.JMSException
createXATopicConnection in interface javax.jms.XATopicConnectionFactoryjavax.jms.JMSException - Thrown if the operation failspublic javax.jms.XATopicConnection createXATopicConnection(String userName, String password) throws javax.jms.JMSException
createXATopicConnection in interface javax.jms.XATopicConnectionFactoryuserName - The user namepassword - The passwordjavax.jms.JMSException - Thrown if the operation failspublic javax.jms.XAConnection createXAConnection()
throws javax.jms.JMSException
createXAConnection in interface javax.jms.XAConnectionFactoryjavax.jms.JMSException - Thrown if the operation failspublic javax.jms.XAConnection createXAConnection(String userName, String password) throws javax.jms.JMSException
createXAConnection in interface javax.jms.XAConnectionFactoryuserName - The user namepassword - The passwordjavax.jms.JMSException - Thrown if the operation failsCopyright © 2006–2016 The Apache Software Foundation. All rights reserved.