org.mockejb.jms
Class QueueConnectionFactoryImpl

java.lang.Object
  extended byorg.mockejb.jms.QueueConnectionFactoryImpl
All Implemented Interfaces:
javax.jms.ConnectionFactory, javax.jms.QueueConnectionFactory

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

QueueConnectionFactory implementation.

Author:
Dimitar Gospodinov
See Also:
QueueConnectionFactory

Constructor Summary
QueueConnectionFactoryImpl()
           
 
Method Summary
 javax.jms.Connection createConnection()
           
 javax.jms.Connection createConnection(java.lang.String userName, java.lang.String password)
           
 javax.jms.QueueConnection createQueueConnection()
           
 javax.jms.QueueConnection createQueueConnection(java.lang.String userName, java.lang.String password)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueueConnectionFactoryImpl

public QueueConnectionFactoryImpl()
Method Detail

createConnection

public javax.jms.Connection createConnection()
                                      throws javax.jms.JMSException
Throws:
javax.jms.JMSException

createConnection

public javax.jms.Connection createConnection(java.lang.String userName,
                                             java.lang.String password)
                                      throws javax.jms.JMSException
Throws:
javax.jms.JMSException

createQueueConnection

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

createQueueConnection

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