public class XAConnectionFactoryImpl extends ConnectionFactoryImpl
Constructor and Description |
---|
XAConnectionFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
Connection |
createConnection()
Creates a new queue connection
|
Connection |
createConnection(java.lang.String username,
java.lang.String password)
Creates a new connection
|
Queue |
createQueue(java.lang.String name)
Creates queue.
|
QueueConnection |
createQueueConnection()
Creates a new queue connection
|
QueueConnection |
createQueueConnection(java.lang.String username,
java.lang.String password)
Creates a new queue connection
|
Topic |
createTopic(java.lang.String name)
Creates topics.
|
TopicConnection |
createTopicConnection()
Creates a new queue connection
|
TopicConnection |
createTopicConnection(java.lang.String username,
java.lang.String password)
Creates a new queue connection
|
addConnection, authenticate, createXAConnection, createXAConnection, createXAQueueConnection, createXAQueueConnection, createXATopicConnection, createXATopicConnection, findByClientID, getName, init, removeConnection, setClientID, setDataSource, setName, setPassword, setSerializationHandle, setUser, toString
public Connection createConnection() throws JMSException
createConnection
in interface ConnectionFactory
createConnection
in class ConnectionFactoryImpl
JMSException
public Connection createConnection(java.lang.String username, java.lang.String password) throws JMSException
createConnection
in interface ConnectionFactory
createConnection
in class ConnectionFactoryImpl
username
- the username to authenticate with the server.password
- the password to authenticate with the server.JMSException
public Queue createQueue(java.lang.String name) throws JMSException
createQueue
in class ConnectionFactoryImpl
JMSException
public Topic createTopic(java.lang.String name) throws JMSException
createTopic
in class ConnectionFactoryImpl
JMSException
public QueueConnection createQueueConnection() throws JMSException
createQueueConnection
in interface QueueConnectionFactory
createQueueConnection
in class ConnectionFactoryImpl
JMSException
public QueueConnection createQueueConnection(java.lang.String username, java.lang.String password) throws JMSException
createQueueConnection
in interface QueueConnectionFactory
createQueueConnection
in class ConnectionFactoryImpl
username
- the username to authenticate with the server.password
- the password to authenticate with the server.JMSException
public TopicConnection createTopicConnection() throws JMSException
createTopicConnection
in interface TopicConnectionFactory
createTopicConnection
in class ConnectionFactoryImpl
JMSException
public TopicConnection createTopicConnection(java.lang.String username, java.lang.String password) throws JMSException
createTopicConnection
in interface TopicConnectionFactory
createTopicConnection
in class ConnectionFactoryImpl
username
- the username to authenticate with the server.password
- the password to authenticate with the server.JMSException