public class ActiveMQConnectionFactory extends Object implements javax.jms.ConnectionFactory, javax.jms.QueueConnectionFactory, javax.jms.TopicConnectionFactory, javax.resource.Referenceable, 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(String userName,
String password) |
javax.jms.QueueConnection |
createQueueConnection() |
javax.jms.QueueConnection |
createQueueConnection(String userName,
String password) |
javax.jms.TopicConnection |
createTopicConnection() |
javax.jms.TopicConnection |
createTopicConnection(String userName,
String password) |
Reference |
getReference() |
void |
setReference(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.ConnectionFactory
javax.jms.JMSException
ConnectionFactory.createConnection()
public javax.jms.Connection createConnection(String userName, String password) throws javax.jms.JMSException
createConnection
in interface javax.jms.ConnectionFactory
javax.jms.JMSException
ConnectionFactory.createConnection(java.lang.String,
java.lang.String)
public Reference getReference()
getReference
in interface Referenceable
Referenceable.getReference()
public void setReference(Reference reference)
Referenceable.setReference(javax.naming.Reference)
public javax.jms.QueueConnection createQueueConnection() throws javax.jms.JMSException
createQueueConnection
in interface javax.jms.QueueConnectionFactory
javax.jms.JMSException
public javax.jms.QueueConnection createQueueConnection(String userName, String password) throws javax.jms.JMSException
createQueueConnection
in interface javax.jms.QueueConnectionFactory
javax.jms.JMSException
public javax.jms.TopicConnection createTopicConnection() throws javax.jms.JMSException
createTopicConnection
in interface javax.jms.TopicConnectionFactory
javax.jms.JMSException
public javax.jms.TopicConnection createTopicConnection(String userName, String password) throws javax.jms.JMSException
createTopicConnection
in interface javax.jms.TopicConnectionFactory
javax.jms.JMSException
Copyright © 2005–2019 The Apache Software Foundation. All rights reserved.