org.activemq.ra.jms
Class ConnectionProxyFactory
java.lang.Object
org.activemq.ra.jms.ConnectionProxyFactory
- All Implemented Interfaces:
- ConnectionFactory, QueueConnectionFactory, TopicConnectionFactory
public class ConnectionProxyFactory
- extends Object
- implements ConnectionFactory, QueueConnectionFactory, TopicConnectionFactory
A ConnectionFactory
implementation which creates connections which can
be used with the ActiveMQ JCA Resource Adapter to publish messages using the
same underlying JMS session that is used to dispatch messages.
- Version:
- $Revision: 1.1.1.1 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionProxyFactory
public ConnectionProxyFactory()
createConnection
public Connection createConnection()
throws JMSException
- Specified by:
createConnection
in interface ConnectionFactory
- Throws:
JMSException
createConnection
public Connection createConnection(String userName,
String password)
throws JMSException
- Specified by:
createConnection
in interface ConnectionFactory
- Throws:
JMSException
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-2010 Protique, Ltd.. All Rights Reserved.