Package com.webmethods.jms.marshal.impl
Class WmMessageFactoryImpl
- java.lang.Object
-
- com.webmethods.jms.marshal.impl.WmMessageFactoryImpl
-
- All Implemented Interfaces:
WmMessageFactory
public class WmMessageFactoryImpl extends java.lang.Object implements WmMessageFactory
-
-
Constructor Summary
Constructors Constructor Description WmMessageFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WmBytesMessage
createBytesMessage()
Creates a BytesMessage for use byWmMarshalIn
implementors.WmMapMessage
createMapMessage()
Creates a MapMessage for use byWmMarshalIn
implementors.WmMessage
createMessage()
Creates a Message for use byWmMarshalIn
implementors.WmObjectMessage
createObjectMessage()
Creates a ObjectMessage for use byWmMarshalIn
implementors.WmObjectMessage
createObjectMessage(java.io.Serializable object)
Creates a ObjectMessage for use byWmMarshalIn
implementors.WmStreamMessage
createStreamMessage()
Creates a StreamMessage for use byWmMarshalIn
implementors.WmTextMessage
createTextMessage()
Creates a TextMessage for use byWmMarshalIn
implementors.WmTextMessage
createTextMessage(java.lang.String text)
Creates a TextMessage for use byWmMarshalIn
implementors.
-
-
-
Method Detail
-
createBytesMessage
public WmBytesMessage createBytesMessage() throws javax.jms.JMSException
Description copied from interface:WmMessageFactory
Creates a BytesMessage for use byWmMarshalIn
implementors.- Specified by:
createBytesMessage
in interfaceWmMessageFactory
- Returns:
- a new BytesMessage that can be populated by the marshalling routine from the BrokerEvent.
- Throws:
javax.jms.JMSException
-
createMapMessage
public WmMapMessage createMapMessage() throws javax.jms.JMSException
Description copied from interface:WmMessageFactory
Creates a MapMessage for use byWmMarshalIn
implementors.- Specified by:
createMapMessage
in interfaceWmMessageFactory
- Returns:
- a new MapMessage that can be populated by the marshalling routine from the BrokerEvent.
- Throws:
javax.jms.JMSException
-
createMessage
public WmMessage createMessage() throws javax.jms.JMSException
Description copied from interface:WmMessageFactory
Creates a Message for use byWmMarshalIn
implementors.- Specified by:
createMessage
in interfaceWmMessageFactory
- Returns:
- a new Message that can be populated by the marshalling routine from the BrokerEvent.
- Throws:
javax.jms.JMSException
-
createObjectMessage
public WmObjectMessage createObjectMessage() throws javax.jms.JMSException
Description copied from interface:WmMessageFactory
Creates a ObjectMessage for use byWmMarshalIn
implementors.- Specified by:
createObjectMessage
in interfaceWmMessageFactory
- Returns:
- a new ObjectMessage that can be populated by the marshalling routine from the BrokerEvent.
- Throws:
javax.jms.JMSException
-
createObjectMessage
public WmObjectMessage createObjectMessage(java.io.Serializable object) throws javax.jms.JMSException
Description copied from interface:WmMessageFactory
Creates a ObjectMessage for use byWmMarshalIn
implementors.- Specified by:
createObjectMessage
in interfaceWmMessageFactory
- Parameters:
object
- the object to use to initialize this message- Returns:
- a new ObjectMessage that can be populated by the marshalling routine from the BrokerEvent.
- Throws:
javax.jms.JMSException
-
createStreamMessage
public WmStreamMessage createStreamMessage() throws javax.jms.JMSException
Description copied from interface:WmMessageFactory
Creates a StreamMessage for use byWmMarshalIn
implementors.- Specified by:
createStreamMessage
in interfaceWmMessageFactory
- Returns:
- a new ObjectMessage that can be populated by the marshalling routine from the BrokerEvent.
- Throws:
javax.jms.JMSException
-
createTextMessage
public WmTextMessage createTextMessage() throws javax.jms.JMSException
Description copied from interface:WmMessageFactory
Creates a TextMessage for use byWmMarshalIn
implementors.- Specified by:
createTextMessage
in interfaceWmMessageFactory
- Returns:
- a new ObjectMessage that can be populated by the marshalling routine from the BrokerEvent.
- Throws:
javax.jms.JMSException
-
createTextMessage
public WmTextMessage createTextMessage(java.lang.String text) throws javax.jms.JMSException
Description copied from interface:WmMessageFactory
Creates a TextMessage for use byWmMarshalIn
implementors.- Specified by:
createTextMessage
in interfaceWmMessageFactory
- Parameters:
text
- the string used to initialize this message- Returns:
- a new ObjectMessage that can be populated by the marshalling routine from the BrokerEvent.
- Throws:
javax.jms.JMSException
-
-