public class ObjectMessageImpl extends MessageImpl implements javax.jms.ObjectMessage
ObjectMessage implementation.ObjectMessage| Constructor and Description |
|---|
ObjectMessageImpl()
Creates empty
ObjectMessageImpl. |
ObjectMessageImpl(javax.jms.ObjectMessage msg)
Creates new
ObjectMessageImpl and sets its header, properties
and body to the corresponded values from msg |
ObjectMessageImpl(java.io.Serializable object)
Creates new
ObjectMessageImpl and sets its body to
object |
| Modifier and Type | Method and Description |
|---|---|
void |
clearBody() |
java.io.Serializable |
getObject() |
void |
setObject(java.io.Serializable object) |
acknowledge, clearProperties, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setPropertiesNotWriteable, setShortProperty, setStringPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacknowledge, clearProperties, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringPropertypublic ObjectMessageImpl()
ObjectMessageImpl.public ObjectMessageImpl(java.io.Serializable object)
throws javax.jms.JMSException
ObjectMessageImpl and sets its body to
objectobject - javax.jms.JMSExceptionpublic ObjectMessageImpl(javax.jms.ObjectMessage msg)
throws javax.jms.JMSException
ObjectMessageImpl and sets its header, properties
and body to the corresponded values from msgmsg - javax.jms.JMSExceptionpublic void setObject(java.io.Serializable object)
throws javax.jms.JMSException
setObject in interface javax.jms.ObjectMessagejavax.jms.JMSExceptionObjectMessage.setObject(java.io.Serializable)public java.io.Serializable getObject()
throws javax.jms.JMSException
getObject in interface javax.jms.ObjectMessagejavax.jms.JMSExceptionObjectMessage.getObject()public void clearBody()
throws javax.jms.JMSException
clearBody in interface javax.jms.MessageclearBody in class MessageImpljavax.jms.JMSExceptionMessage.clearBody()