org.activemq.ra
Class ActiveMQConnectionFactory
java.lang.Object
org.activemq.ra.ActiveMQConnectionFactory
- All Implemented Interfaces:
- Serializable, ConnectionFactory, QueueConnectionFactory, TopicConnectionFactory, Referenceable
public class ActiveMQConnectionFactory
- extends Object
- implements ConnectionFactory, QueueConnectionFactory, TopicConnectionFactory, Referenceable, Serializable
- Version:
- $Revision: 1.1.1.1 $
- 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,
ConnectionManager manager,
ActiveMQConnectionRequestInfo info)
- Parameters:
factory
- manager
- info
-
createConnection
public Connection createConnection()
throws JMSException
- Specified by:
createConnection
in interface ConnectionFactory
- Throws:
JMSException
- See Also:
ConnectionFactory.createConnection()
createConnection
public Connection createConnection(String userName,
String password)
throws JMSException
- Specified by:
createConnection
in interface ConnectionFactory
- Throws:
JMSException
- See Also:
ConnectionFactory.createConnection(java.lang.String, java.lang.String)
getReference
public Reference getReference()
- Specified by:
getReference
in interface Referenceable
- See Also:
Referenceable.getReference()
setReference
public void setReference(Reference reference)
- See Also:
Referenceable.setReference(javax.naming.Reference)
createQueueConnection
public QueueConnection createQueueConnection()
throws JMSException
- Specified by:
createQueueConnection
in interface QueueConnectionFactory
- Throws:
JMSException
createQueueConnection
public QueueConnection createQueueConnection(String userName,
String password)
throws JMSException
- Specified by:
createQueueConnection
in interface QueueConnectionFactory
- Throws:
JMSException
createTopicConnection
public TopicConnection createTopicConnection()
throws JMSException
- Specified by:
createTopicConnection
in interface TopicConnectionFactory
- Throws:
JMSException
createTopicConnection
public TopicConnection createTopicConnection(String userName,
String password)
throws JMSException
- Specified by:
createTopicConnection
in interface TopicConnectionFactory
- Throws:
JMSException
Copyright © 2004-2008 Protique, Ltd.. All Rights Reserved.