org.exolab.jmscts.test.message.util
Class PopulatorVerifierFactory

java.lang.Object
  |
  +--org.exolab.jmscts.test.message.util.PopulatorVerifierFactory

public final class PopulatorVerifierFactory
extends java.lang.Object

Factory to create the appropriate MessagePopulatorVerifier for a given message

Version:
$Revision: 1.2 $
Author:
Tim Anderson

Method Summary
static MessagePopulatorVerifier create(javax.jms.Message message)
          Create a new MessagePopulatorVerifier for the supplied message
static MessagePopulatorVerifier create(javax.jms.Message message, java.lang.Class exception)
          Create a new MessagePopulatorVerifier for the supplied message
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static MessagePopulatorVerifier create(javax.jms.Message message)
Create a new MessagePopulatorVerifier for the supplied message
Parameters:
message - the message to create the MessagePopulatorVerifier for
Returns:
a new MessagePopulatorVerifier

create

public static MessagePopulatorVerifier create(javax.jms.Message message,
                                              java.lang.Class exception)
Create a new MessagePopulatorVerifier for the supplied message
Parameters:
message - the message to create the MessagePopulatorVerifier for
exception - the exception type expected to be thrown by the MessagePopulatorVerifier when invoking a message's methods
Returns:
a new MessagePopulatorVerifier


Copyright © 2001-2004 JMS CTS Team. All Rights Reserved.