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

Version:
$Revision: 3309 $
Author:
Guillaume Nodet

Nested Class Summary
protected  class ConnectionFactoryWrapper.ConnectionInvocationHandler
           
 
Field Summary
protected  Object factory
           
protected static org.apache.commons.logging.Log logger
           
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

factory

protected Object factory

tm

protected TransactionManager tm

logger

protected static transient org.apache.commons.logging.Log logger
Constructor Detail

ConnectionFactoryWrapper

public ConnectionFactoryWrapper(Object factory,
                                TransactionManager tm)
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 © 2003-2006 MuleSource Inc.. All Rights Reserved.