ch.qos.logback.classic.net.mock
Class MockQueueConnectionFactory

java.lang.Object
  extended by ch.qos.logback.classic.net.mock.MockQueueConnectionFactory
All Implemented Interfaces:
javax.jms.ConnectionFactory, javax.jms.QueueConnectionFactory

public class MockQueueConnectionFactory
extends Object
implements javax.jms.QueueConnectionFactory


Constructor Summary
MockQueueConnectionFactory()
           
 
Method Summary
 javax.jms.Connection createConnection()
           
 javax.jms.Connection createConnection(String arg0, String arg1)
           
 javax.jms.QueueConnection createQueueConnection()
           
 javax.jms.QueueConnection createQueueConnection(String user, String pass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockQueueConnectionFactory

public MockQueueConnectionFactory()
Method Detail

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(String user,
                                                       String pass)
                                                throws javax.jms.JMSException
Specified by:
createQueueConnection in interface javax.jms.QueueConnectionFactory
Throws:
javax.jms.JMSException

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(String arg0,
                                             String arg1)
                                      throws javax.jms.JMSException
Specified by:
createConnection in interface javax.jms.ConnectionFactory
Throws:
javax.jms.JMSException


Copyright © 2005-2009 QOS.ch. All Rights Reserved.