org.mockejb.jms
Class TopicConnectionFactoryImpl

java.lang.Object
  extended byorg.mockejb.jms.TopicConnectionFactoryImpl
All Implemented Interfaces:
javax.jms.ConnectionFactory, javax.jms.TopicConnectionFactory

public class TopicConnectionFactoryImpl
extends java.lang.Object
implements javax.jms.TopicConnectionFactory

TopicConnectionFactory implementation.

Author:
Dimitar Gospodinov

Constructor Summary
TopicConnectionFactoryImpl()
           
 
Method Summary
 javax.jms.Connection createConnection()
           
 javax.jms.Connection createConnection(java.lang.String userName, java.lang.String password)
           
 javax.jms.TopicConnection createTopicConnection()
           
 javax.jms.TopicConnection createTopicConnection(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

TopicConnectionFactoryImpl

public TopicConnectionFactoryImpl()
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

createTopicConnection

public javax.jms.TopicConnection createTopicConnection(java.lang.String userName,
                                                       java.lang.String password)
                                                throws javax.jms.JMSException
Specified by:
createTopicConnection in interface javax.jms.TopicConnectionFactory
Throws:
javax.jms.JMSException

createTopicConnection

public javax.jms.TopicConnection createTopicConnection()
                                                throws javax.jms.JMSException
Specified by:
createTopicConnection in interface javax.jms.TopicConnectionFactory
Throws:
javax.jms.JMSException