com.mockobjects.jms

Class MockQueueConnectionFactory

Implemented Interfaces:
QueueConnectionFactory, Verifiable

public class MockQueueConnectionFactory
extends MockObject
implements QueueConnectionFactory

Method Summary

QueueConnection
createQueueConnection()
QueueConnection
createQueueConnection(String userName, String password)
void
setExpectedPassword(String password)
void
setExpectedUserName(String userName)
void
setupQueueConnection(QueueConnection queueConnection)
void
setupThrowException(JMSException e)

Methods inherited from class com.mockobjects.MockObject

notImplemented, notYetImplemented, verify

Method Details

createQueueConnection

public QueueConnection createQueueConnection()
            throws JMSException

createQueueConnection

public QueueConnection createQueueConnection(String userName,
                                             String password)
            throws JMSException

setExpectedPassword

public void setExpectedPassword(String password)

setExpectedUserName

public void setExpectedUserName(String userName)

setupQueueConnection

public void setupQueueConnection(QueueConnection queueConnection)

setupThrowException

public void setupThrowException(JMSException e)

Copyright © 2002 Mock Objects. All Rights Reserved.