org.apache.activemq.ra
Class ActiveMQConnectionFactory
java.lang.Object
org.apache.activemq.ra.ActiveMQConnectionFactory
- All Implemented Interfaces:
- java.io.Serializable, javax.jms.ConnectionFactory, javax.jms.QueueConnectionFactory, javax.jms.TopicConnectionFactory, javax.naming.Referenceable
public class ActiveMQConnectionFactory
- extends java.lang.Object
- implements javax.jms.ConnectionFactory, javax.jms.QueueConnectionFactory, javax.jms.TopicConnectionFactory, javax.resource.Referenceable, java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActiveMQConnectionFactory
public ActiveMQConnectionFactory(ActiveMQManagedConnectionFactory factory,
javax.resource.spi.ConnectionManager manager,
ActiveMQConnectionRequestInfo connectionRequestInfo)
- Parameters:
factory
- manager
- connectionRequestInfo
-
createConnection
public javax.jms.Connection createConnection()
throws javax.jms.JMSException
- Specified by:
createConnection
in interface javax.jms.ConnectionFactory
- Throws:
javax.jms.JMSException
- See Also:
ConnectionFactory.createConnection()
createConnection
public javax.jms.Connection createConnection(java.lang.String userName,
java.lang.String password)
throws javax.jms.JMSException
- Specified by:
createConnection
in interface javax.jms.ConnectionFactory
- Throws:
javax.jms.JMSException
- See Also:
ConnectionFactory.createConnection(java.lang.String,
java.lang.String)
getReference
public javax.naming.Reference getReference()
- Specified by:
getReference
in interface javax.naming.Referenceable
- See Also:
Referenceable.getReference()
setReference
public void setReference(javax.naming.Reference reference)
- See Also:
Referenceable.setReference(javax.naming.Reference)
createQueueConnection
public javax.jms.QueueConnection createQueueConnection()
throws javax.jms.JMSException
- Specified by:
createQueueConnection
in interface javax.jms.QueueConnectionFactory
- Throws:
javax.jms.JMSException
createQueueConnection
public javax.jms.QueueConnection createQueueConnection(java.lang.String userName,
java.lang.String password)
throws javax.jms.JMSException
- Specified by:
createQueueConnection
in interface javax.jms.QueueConnectionFactory
- Throws:
javax.jms.JMSException
createTopicConnection
public javax.jms.TopicConnection createTopicConnection()
throws javax.jms.JMSException
- Specified by:
createTopicConnection
in interface javax.jms.TopicConnectionFactory
- Throws:
javax.jms.JMSException
createTopicConnection
public javax.jms.TopicConnection createTopicConnection(java.lang.String userName,
java.lang.String password)
throws javax.jms.JMSException
- Specified by:
createTopicConnection
in interface javax.jms.TopicConnectionFactory
- Throws:
javax.jms.JMSException
Copyright © 2005-2015. All Rights Reserved.