|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.exolab.jmscts.core.MessageFactory | +--org.exolab.jmscts.jms.message.BasicMessageFactory
Helper class for creating, and optionally populating messages
MessagePopulator
Constructor Summary | |
BasicMessageFactory()
Construct a new BasicMessageFactory |
|
BasicMessageFactory(MessagePopulator populator)
Construct a new BasicMessageFactory |
Method Summary | |
protected javax.jms.BytesMessage |
createBytesMessage()
Create a new BytesMessage |
protected javax.jms.MapMessage |
createMapMessage()
Create a new MapMessage |
protected javax.jms.Message |
createMessage()
Create a new Message |
protected javax.jms.ObjectMessage |
createObjectMessage()
Create a new ObjectMessage |
protected javax.jms.StreamMessage |
createStreamMessage()
Create a new StreamMessage |
protected javax.jms.TextMessage |
createTextMessage()
Create a new TextMessage |
Methods inherited from class org.exolab.jmscts.core.MessageFactory |
create, populate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BasicMessageFactory()
BasicMessageFactory
public BasicMessageFactory(MessagePopulator populator)
BasicMessageFactory
populator
- the message populator, or null, if messages aren't to
be populatedMethod Detail |
protected javax.jms.BytesMessage createBytesMessage()
BytesMessage
createBytesMessage
in class MessageFactory
protected javax.jms.MapMessage createMapMessage()
MapMessage
createMapMessage
in class MessageFactory
protected javax.jms.Message createMessage()
Message
createMessage
in class MessageFactory
protected javax.jms.ObjectMessage createObjectMessage()
ObjectMessage
createObjectMessage
in class MessageFactory
protected javax.jms.StreamMessage createStreamMessage()
StreamMessage
createStreamMessage
in class MessageFactory
protected javax.jms.TextMessage createTextMessage()
TextMessage
createTextMessage
in class MessageFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |