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 Referenceable
public javax.jms.QueueConnection createQueueConnection() throws javax.jms.JMSException
createQueueConnection
in interface javax.jms.QueueConnectionFactory
javax.jms.JMSException
- Thrown if the operation failspublic javax.jms.QueueConnection createQueueConnection(String userName, String password) throws javax.jms.JMSException
createQueueConnection
in interface javax.jms.QueueConnectionFactory
userName
- 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.TopicConnectionFactory
javax.jms.JMSException
- Thrown if the operation failspublic javax.jms.TopicConnection createTopicConnection(String userName, String password) throws javax.jms.JMSException
createTopicConnection
in interface javax.jms.TopicConnectionFactory
userName
- 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.ConnectionFactory
javax.jms.JMSException
- Thrown if the operation failspublic javax.jms.Connection createConnection(String userName, String password) throws javax.jms.JMSException
createConnection
in interface javax.jms.ConnectionFactory
userName
- 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.XAQueueConnectionFactory
javax.jms.JMSException
- Thrown if the operation failspublic javax.jms.XAQueueConnection createXAQueueConnection(String userName, String password) throws javax.jms.JMSException
createXAQueueConnection
in interface javax.jms.XAQueueConnectionFactory
userName
- 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.XATopicConnectionFactory
javax.jms.JMSException
- Thrown if the operation failspublic javax.jms.XATopicConnection createXATopicConnection(String userName, String password) throws javax.jms.JMSException
createXATopicConnection
in interface javax.jms.XATopicConnectionFactory
userName
- 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.XAConnectionFactory
javax.jms.JMSException
- Thrown if the operation failspublic javax.jms.XAConnection createXAConnection(String userName, String password) throws javax.jms.JMSException
createXAConnection
in interface javax.jms.XAConnectionFactory
userName
- The user namepassword
- The passwordjavax.jms.JMSException
- Thrown if the operation failsCopyright © 2006–2016 The Apache Software Foundation. All rights reserved.