Uses of Class
com.mockrunner.mock.jms.MockConnection

Packages that use MockConnection
com.mockrunner.jms   
com.mockrunner.mock.jms   
 

Uses of MockConnection in com.mockrunner.jms
 

Methods in com.mockrunner.jms that return MockConnection
protected  MockConnection BasicJMSTestCaseAdapter.getCurrentConnection()
          Delegates to JMSTestModule.getCurrentConnection()
protected  MockConnection JMSTestCaseAdapter.getCurrentConnection()
          Delegates to JMSTestModule.getCurrentConnection()
 MockConnection JMSTestModule.getCurrentConnection()
          Returns the current MockConnection based on its index or null if no connection was created.
 

Methods in com.mockrunner.jms with parameters of type MockConnection
protected  void BasicJMSTestCaseAdapter.registerTestMessageListenerForQueue(MockConnection connection, java.lang.String queueName, boolean transacted, int acknowledgeMode, javax.jms.MessageListener listener)
          Delegates to JMSTestModule.registerTestMessageListenerForQueue(MockConnection, String, boolean, int, MessageListener)
protected  void JMSTestCaseAdapter.registerTestMessageListenerForQueue(MockConnection connection, java.lang.String queueName, boolean transacted, int acknowledgeMode, javax.jms.MessageListener listener)
          Delegates to JMSTestModule.registerTestMessageListenerForQueue(MockConnection, String, boolean, int, MessageListener)
 void JMSTestModule.registerTestMessageListenerForQueue(MockConnection connection, java.lang.String queueName, boolean transacted, int acknowledgeMode, javax.jms.MessageListener listener)
          Creates a new session and receiver using the specified connection and registers the specified listener.
protected  void BasicJMSTestCaseAdapter.registerTestMessageListenerForQueue(MockConnection connection, java.lang.String queueName, boolean transacted, int acknowledgeMode, java.lang.String messageSelector, javax.jms.MessageListener listener)
          Delegates to JMSTestModule.registerTestMessageListenerForQueue(MockConnection, String, boolean, int, String, MessageListener)
protected  void JMSTestCaseAdapter.registerTestMessageListenerForQueue(MockConnection connection, java.lang.String queueName, boolean transacted, int acknowledgeMode, java.lang.String messageSelector, javax.jms.MessageListener listener)
          Delegates to JMSTestModule.registerTestMessageListenerForQueue(MockConnection, String, boolean, int, String, MessageListener)
 void JMSTestModule.registerTestMessageListenerForQueue(MockConnection connection, java.lang.String queueName, boolean transacted, int acknowledgeMode, java.lang.String messageSelector, javax.jms.MessageListener listener)
          Creates a new session and receiver using the specified connection and registers the specified listener.
protected  void BasicJMSTestCaseAdapter.registerTestMessageListenerForQueue(MockConnection connection, java.lang.String queueName, javax.jms.MessageListener listener)
          Delegates to JMSTestModule.registerTestMessageListenerForQueue(MockConnection, String, MessageListener)
protected  void JMSTestCaseAdapter.registerTestMessageListenerForQueue(MockConnection connection, java.lang.String queueName, javax.jms.MessageListener listener)
          Delegates to JMSTestModule.registerTestMessageListenerForQueue(MockConnection, String, MessageListener)
 void JMSTestModule.registerTestMessageListenerForQueue(MockConnection connection, java.lang.String queueName, javax.jms.MessageListener listener)
          Creates a new session and receiver using the specified connection and registers the specified listener.
protected  void BasicJMSTestCaseAdapter.registerTestMessageListenerForTopic(MockConnection connection, java.lang.String topicName, boolean transacted, int acknowledgeMode, javax.jms.MessageListener listener)
          Delegates to JMSTestModule.registerTestMessageListenerForTopic(MockConnection, String, boolean, int, MessageListener)
protected  void JMSTestCaseAdapter.registerTestMessageListenerForTopic(MockConnection connection, java.lang.String topicName, boolean transacted, int acknowledgeMode, javax.jms.MessageListener listener)
          Delegates to JMSTestModule.registerTestMessageListenerForTopic(MockConnection, String, boolean, int, MessageListener)
 void JMSTestModule.registerTestMessageListenerForTopic(MockConnection connection, java.lang.String topicName, boolean transacted, int acknowledgeMode, javax.jms.MessageListener listener)
          Creates a new session and subscriber using the specified connection and registers the specified listener.
protected  void BasicJMSTestCaseAdapter.registerTestMessageListenerForTopic(MockConnection connection, java.lang.String topicName, boolean transacted, int acknowledgeMode, java.lang.String messageSelector, javax.jms.MessageListener listener)
          Delegates to JMSTestModule.registerTestMessageListenerForTopic(MockConnection, String, boolean, int, String, MessageListener)
protected  void JMSTestCaseAdapter.registerTestMessageListenerForTopic(MockConnection connection, java.lang.String topicName, boolean transacted, int acknowledgeMode, java.lang.String messageSelector, javax.jms.MessageListener listener)
          Delegates to JMSTestModule.registerTestMessageListenerForTopic(MockConnection, String, boolean, int, String, MessageListener)
 void JMSTestModule.registerTestMessageListenerForTopic(MockConnection connection, java.lang.String topicName, boolean transacted, int acknowledgeMode, java.lang.String messageSelector, javax.jms.MessageListener listener)
          Creates a new session and subscriber using the specified connection and registers the specified listener.
protected  void BasicJMSTestCaseAdapter.registerTestMessageListenerForTopic(MockConnection connection, java.lang.String topicName, javax.jms.MessageListener listener)
          Delegates to JMSTestModule.registerTestMessageListenerForTopic(MockConnection, String, MessageListener)
protected  void JMSTestCaseAdapter.registerTestMessageListenerForTopic(MockConnection connection, java.lang.String topicName, javax.jms.MessageListener listener)
          Delegates to JMSTestModule.registerTestMessageListenerForTopic(MockConnection, String, MessageListener)
 void JMSTestModule.registerTestMessageListenerForTopic(MockConnection connection, java.lang.String topicName, javax.jms.MessageListener listener)
          Creates a new session and subscriber using the specified connection and registers the specified listener.
 

Constructors in com.mockrunner.jms with parameters of type MockConnection
GenericTransmissionManager(MockConnection connection, MockSession session)
           
QueueTransmissionManager(MockConnection connection, MockSession session)
           
TopicTransmissionManager(MockConnection connection, MockSession session)
           
 

Uses of MockConnection in com.mockrunner.mock.jms
 

Subclasses of MockConnection in com.mockrunner.mock.jms
 class MockQueueConnection
          Mock implementation of JMS QueueConnection.
 class MockTopicConnection
          Mock implementation of JMS TopicConnection.
 

Methods in com.mockrunner.mock.jms that return MockConnection
protected  MockConnection MockMessageConsumer.getConnection()
           
protected  MockConnection MockSession.getConnection()
           
 MockConnection MockConnectionFactory.getConnection(int index)
          Returns the connection with the specified index or null if no such connection exists.
 MockConnection MockConnectionFactory.getLatestConnection()
          Returns the latest created connection or null if no such connection exists.
 

Constructors in com.mockrunner.mock.jms with parameters of type MockConnection
MockConnectionConsumer(MockConnection connection, javax.jms.ServerSessionPool serverSessionPool)
           
MockMessageConsumer(MockConnection connection, java.lang.String messageSelector)
           
MockMessageProducer(MockConnection connection, MockSession session, MockDestination destination)
           
MockQueueBrowser(MockConnection connection, MockQueue queue)
           
MockQueueBrowser(MockConnection connection, MockQueue queue, java.lang.String messageSelector)
           
MockQueueReceiver(MockConnection connection, MockQueueSession session, MockQueue queue)
           
MockQueueReceiver(MockConnection connection, MockSession session, MockQueue queue, java.lang.String messageSelector)
           
MockQueueSender(MockConnection connection, MockSession session, MockQueue queue)
           
MockServerSession(MockConnection connection)
           
MockServerSessionPool(MockConnection connection)
           
MockSession(MockConnection connection, boolean transacted, int acknowledgeMode)
           
MockTopicPublisher(MockConnection connection, MockSession session, MockTopic topic)
           
MockTopicSubscriber(MockConnection connection, MockSession session, MockTopic topic)
           
MockTopicSubscriber(MockConnection connection, MockSession session, MockTopic topic, java.lang.String messageSelector, boolean noLocal)