WLMessageFactory
public final class JMSMessageFactoryImpl extends java.lang.Object implements WLMessageFactory
Modifier and Type | Method | Description |
---|---|---|
javax.jms.BytesMessage |
createBytesMessage() |
Implements createBytesMessage.
|
javax.jms.MapMessage |
createMapMessage() |
Implements createMapMessage.
|
javax.jms.Message |
createMessage() |
Implements createMessage.
|
javax.jms.Message |
createMessage(org.w3c.dom.Document jmsMessageDocument) |
Implements createMessage.
|
javax.jms.ObjectMessage |
createObjectMessage() |
Implements createObjectMessage.
|
javax.jms.ObjectMessage |
createObjectMessage(java.io.Serializable object) |
Implements createObjectMessage.
|
javax.jms.StreamMessage |
createStreamMessage() |
Implements createStreamMessage.
|
javax.jms.TextMessage |
createTextMessage() |
Implements createTextMessage.
|
javax.jms.TextMessage |
createTextMessage(java.lang.String string) |
Implements createTextMessage.
|
javax.jms.TextMessage |
createTextMessage(java.lang.StringBuffer buffer) |
Implements createTextMessage.
|
XMLMessage |
createXMLMessage() |
Implements createXMLMessage.
|
XMLMessage |
createXMLMessage(java.lang.String string) |
Implements createXMLMessage.
|
XMLMessage |
createXMLMessage(org.w3c.dom.Document document) |
Implements createXMLMessage.
|
static WLMessageFactory |
getFactory() |
Returns WLMessageFactory singleton instance.
|
public static final WLMessageFactory getFactory()
WLMessageFactory
public final javax.jms.Message createMessage()
createMessage
in interface WLMessageFactory
Message
public final javax.jms.Message createMessage(org.w3c.dom.Document jmsMessageDocument) throws org.w3c.dom.DOMException, javax.jms.JMSException, java.io.IOException, java.lang.ClassNotFoundException
createMessage
in interface WLMessageFactory
jmsMessageDocument
- - document used to initialize this messageorg.w3c.dom.DOMException
javax.jms.JMSException
java.io.IOException
java.lang.ClassNotFoundException
Message
,
Document
public final javax.jms.BytesMessage createBytesMessage()
createBytesMessage
in interface WLMessageFactory
BytesMessage
public final javax.jms.MapMessage createMapMessage()
createMapMessage
in interface WLMessageFactory
MapMessage
public final javax.jms.ObjectMessage createObjectMessage()
createObjectMessage
in interface WLMessageFactory
ObjectMessage
public final javax.jms.ObjectMessage createObjectMessage(java.io.Serializable object) throws javax.jms.JMSException
createObjectMessage
in interface WLMessageFactory
object
- the object used to initialize this messagejavax.jms.JMSException
- - if the API fails to create this message due to
some internal error.ObjectMessage
public final javax.jms.StreamMessage createStreamMessage()
createStreamMessage
in interface WLMessageFactory
StreamMessage
public final javax.jms.TextMessage createTextMessage()
createTextMessage
in interface WLMessageFactory
TextMessage
public final javax.jms.TextMessage createTextMessage(java.lang.String string)
createTextMessage
in interface WLMessageFactory
string
- the string used to initialize this messageTextMessage
public final javax.jms.TextMessage createTextMessage(java.lang.StringBuffer buffer)
createTextMessage
in interface WLMessageFactory
buffer
- the string buffer used to initialize this messageTextMessage
public final XMLMessage createXMLMessage()
createXMLMessage
in interface WLMessageFactory
XMLMessage
public final XMLMessage createXMLMessage(java.lang.String string)
createXMLMessage
in interface WLMessageFactory
string
- the string used to initialize this messageXMLMessage
public final XMLMessage createXMLMessage(org.w3c.dom.Document document) throws javax.jms.JMSException
createXMLMessage
in interface WLMessageFactory
document
- A DOM Document objectjavax.jms.JMSException
XMLMessage