org.mule.providers.jms.xa
Class ConnectionFactoryWrapper

java.lang.Object
  extended byorg.mule.providers.jms.xa.ConnectionFactoryWrapper
All Implemented Interfaces:
ConnectionFactory, QueueConnectionFactory, TopicConnectionFactory

public class ConnectionFactoryWrapper
extends Object
implements ConnectionFactory, QueueConnectionFactory, TopicConnectionFactory


Nested Class Summary
 class ConnectionFactoryWrapper.ConnectionInvocationHandler
           
 
Field Summary
protected  Object factory
           
protected static Log logger
          logger used by this class
protected  TransactionManager tm
           
 
Constructor Summary
ConnectionFactoryWrapper(Object factory, TransactionManager tm)
           
 
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
 

Field Detail

logger

protected static final Log logger
logger used by this class


factory

protected final Object factory

tm

protected final TransactionManager tm
Constructor Detail

ConnectionFactoryWrapper

public ConnectionFactoryWrapper(Object factory,
                                TransactionManager tm)
Method Detail

createConnection

public Connection createConnection()
                            throws JMSException
Throws:
JMSException

createConnection

public Connection createConnection(String username,
                                   String password)
                            throws JMSException
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 © 2003-2008 MuleSource, Inc.. All Rights Reserved.