org.mule.transport.jms.test
Class TestConnectionFactory

java.lang.Object
  extended by org.mule.transport.jms.test.TestConnectionFactory
All Implemented Interfaces:
ConnectionFactory, QueueConnectionFactory

public class TestConnectionFactory
extends Object
implements QueueConnectionFactory


Constructor Summary
TestConnectionFactory()
           
 
Method Summary
 Connection createConnection()
           
 Connection createConnection(String string, String string1)
           
 QueueConnection createQueueConnection()
           
 QueueConnection createQueueConnection(String string, String string1)
           
 String getConnectionFactoryProperty()
           
 Object getCustomProperty()
           
 String getProviderProperty()
           
 void setConnectionFactoryProperty(String connectionFactoryProperty)
          MUST be called
 void setCustomProperty(Object custom)
           
 void setProviderProperty(String providerProperty)
          Should NOT be called.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestConnectionFactory

public TestConnectionFactory()
Method Detail

createConnection

public Connection createConnection()
                            throws JMSException
Specified by:
createConnection in interface ConnectionFactory
Throws:
JMSException

createConnection

public Connection createConnection(String string,
                                   String string1)
                            throws JMSException
Specified by:
createConnection in interface ConnectionFactory
Throws:
JMSException

getProviderProperty

public String getProviderProperty()

setProviderProperty

public void setProviderProperty(String providerProperty)
Should NOT be called.


getConnectionFactoryProperty

public String getConnectionFactoryProperty()

setConnectionFactoryProperty

public void setConnectionFactoryProperty(String connectionFactoryProperty)
MUST be called


createQueueConnection

public QueueConnection createQueueConnection()
                                      throws JMSException
Specified by:
createQueueConnection in interface QueueConnectionFactory
Throws:
JMSException

createQueueConnection

public QueueConnection createQueueConnection(String string,
                                             String string1)
                                      throws JMSException
Specified by:
createQueueConnection in interface QueueConnectionFactory
Throws:
JMSException

getCustomProperty

public Object getCustomProperty()

setCustomProperty

public void setCustomProperty(Object custom)


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.