|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.exolab.jmscts.core.MessageTypes
Helper class used to indicate what JMS message types to run a particular test case against
MessageTestCase,
MessageTestRunner| Field Summary | |
static MessageTypes |
ALL
All message types |
static MessageTypes |
BYTES
The bytes message type |
static MessageTypes |
MAP
The map message type |
static MessageTypes |
MESSAGE
The 'message' message type |
static MessageTypes |
OBJECT
The object message type |
static MessageTypes |
STREAM
The stream message type |
static MessageTypes |
TEXT
The text message type |
| Method Summary | |
int |
count()
Return a count of the message types |
static MessageTypes |
fromString(java.lang.String name)
Helper to convert a message name to a MessageTypes
instance |
static MessageTypes |
fromString(java.lang.String[] names)
Helper to convert a set of type strings to a MessageTypes
instance |
static java.lang.Class |
getType(javax.jms.Message message)
Helper to return the type that a particular message implements |
java.lang.Class[] |
getTypes()
Return the list of message types to test against |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final MessageTypes MESSAGE
public static final MessageTypes BYTES
public static final MessageTypes MAP
public static final MessageTypes OBJECT
public static final MessageTypes STREAM
public static final MessageTypes TEXT
public static final MessageTypes ALL
| Method Detail |
public java.lang.Class[] getTypes()
public static java.lang.Class getType(javax.jms.Message message)
message - the messagepublic static MessageTypes fromString(java.lang.String name)
MessageTypes
instancename - the message namename,
or null if name is invalidpublic static MessageTypes fromString(java.lang.String[] names)
MessageTypes
instancenames - the message namesnamespublic int count()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||