org.mule.transport.jms.test
Class TestConnectionFactory

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

public class TestConnectionFactory
extends java.lang.Object
implements javax.jms.QueueConnectionFactory


Constructor Summary
TestConnectionFactory()
           
 
Method Summary
 javax.jms.Connection createConnection()
           
 javax.jms.Connection createConnection(java.lang.String string, java.lang.String string1)
           
 javax.jms.QueueConnection createQueueConnection()
           
 javax.jms.QueueConnection createQueueConnection(java.lang.String string, java.lang.String string1)
           
 java.lang.String getConnectionFactoryProperty()
           
 java.lang.Object getCustomProperty()
           
 java.lang.String getProviderProperty()
           
 void setConnectionFactoryProperty(java.lang.String connectionFactoryProperty)
          MUST be called
 void setCustomProperty(java.lang.Object custom)
           
 void setProviderProperty(java.lang.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 javax.jms.Connection createConnection()
                                      throws javax.jms.JMSException
Specified by:
createConnection in interface javax.jms.ConnectionFactory
Throws:
javax.jms.JMSException

createConnection

public javax.jms.Connection createConnection(java.lang.String string,
                                             java.lang.String string1)
                                      throws javax.jms.JMSException
Specified by:
createConnection in interface javax.jms.ConnectionFactory
Throws:
javax.jms.JMSException

getProviderProperty

public java.lang.String getProviderProperty()

setProviderProperty

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


getConnectionFactoryProperty

public java.lang.String getConnectionFactoryProperty()

setConnectionFactoryProperty

public void setConnectionFactoryProperty(java.lang.String connectionFactoryProperty)
MUST be called


createQueueConnection

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

createQueueConnection

public javax.jms.QueueConnection createQueueConnection(java.lang.String string,
                                                       java.lang.String string1)
                                                throws javax.jms.JMSException
Specified by:
createQueueConnection in interface javax.jms.QueueConnectionFactory
Throws:
javax.jms.JMSException

getCustomProperty

public java.lang.Object getCustomProperty()

setCustomProperty

public void setCustomProperty(java.lang.Object custom)


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