public class ActiveMQConnectionFactory
extends java.lang.Object
implements javax.jms.ConnectionFactory, javax.jms.QueueConnectionFactory, javax.jms.TopicConnectionFactory, javax.resource.Referenceable, java.io.Serializable
| Constructor and Description |
|---|
ActiveMQConnectionFactory(ActiveMQManagedConnectionFactory factory,
javax.resource.spi.ConnectionManager manager,
ActiveMQConnectionRequestInfo connectionRequestInfo) |
| Modifier and Type | Method and Description |
|---|---|
javax.jms.Connection |
createConnection() |
javax.jms.Connection |
createConnection(java.lang.String userName,
java.lang.String password) |
javax.jms.QueueConnection |
createQueueConnection() |
javax.jms.QueueConnection |
createQueueConnection(java.lang.String userName,
java.lang.String password) |
javax.jms.TopicConnection |
createTopicConnection() |
javax.jms.TopicConnection |
createTopicConnection(java.lang.String userName,
java.lang.String password) |
javax.naming.Reference |
getReference() |
void |
setReference(javax.naming.Reference reference) |
public ActiveMQConnectionFactory(ActiveMQManagedConnectionFactory factory, javax.resource.spi.ConnectionManager manager, ActiveMQConnectionRequestInfo connectionRequestInfo)
factory - manager - connectionRequestInfo - public javax.jms.Connection createConnection()
throws javax.jms.JMSException
createConnection in interface javax.jms.ConnectionFactoryjavax.jms.JMSExceptionConnectionFactory.createConnection()public javax.jms.Connection createConnection(java.lang.String userName,
java.lang.String password)
throws javax.jms.JMSException
createConnection in interface javax.jms.ConnectionFactoryjavax.jms.JMSExceptionConnectionFactory.createConnection(java.lang.String,
java.lang.String)public javax.naming.Reference getReference()
getReference in interface javax.naming.ReferenceableReferenceable.getReference()public void setReference(javax.naming.Reference reference)
Referenceable.setReference(javax.naming.Reference)public javax.jms.QueueConnection createQueueConnection()
throws javax.jms.JMSException
createQueueConnection in interface javax.jms.QueueConnectionFactoryjavax.jms.JMSExceptionpublic javax.jms.QueueConnection createQueueConnection(java.lang.String userName,
java.lang.String password)
throws javax.jms.JMSException
createQueueConnection in interface javax.jms.QueueConnectionFactoryjavax.jms.JMSExceptionpublic javax.jms.TopicConnection createTopicConnection()
throws javax.jms.JMSException
createTopicConnection in interface javax.jms.TopicConnectionFactoryjavax.jms.JMSExceptionpublic javax.jms.TopicConnection createTopicConnection(java.lang.String userName,
java.lang.String password)
throws javax.jms.JMSException
createTopicConnection in interface javax.jms.TopicConnectionFactoryjavax.jms.JMSExceptionCopyright © 2005-2014 Red Hat, Inc.. All Rights Reserved.