org.activemq.ra.jms
Class ConnectionProxyFactory

java.lang.Object
  extended byorg.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 $

Constructor Summary
ConnectionProxyFactory()
           
 
Method Summary
 Connection createConnection()
           
 Connection createConnection(String userName, String password)
           
 QueueConnection createQueueConnection()
           
 QueueConnection createQueueConnection(String userName, String password)
           
 TopicConnection createTopicConnection()
           
 TopicConnection createTopicConnection(String userName, String password)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionProxyFactory

public ConnectionProxyFactory()
Method Detail

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-2007 Protique, Ltd.. All Rights Reserved.