public final class ObjectMessageImpl extends AbstractMessage implements javax.jms.ObjectMessage
Implementation of an ObjectMessage
bodyIsReadOnly| Constructor and Description |
|---|
ObjectMessageImpl()
Constructor
|
ObjectMessageImpl(Serializable object)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearBody() |
AbstractMessage |
copy()
Create an independant copy of this message
|
Serializable |
getObject() |
protected byte |
getType()
Get the type value for this message
|
protected void |
serializeBodyTo(RawDataBuffer out) |
void |
setObject(Serializable object) |
String |
toString() |
protected void |
unserializeBodyFrom(RawDataBuffer in) |
acknowledge, assertDeserializationLevel, clearProperties, copyCommonFields, ensureDeserializationLevel, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getRawMessage, getSession, getShortProperty, getStringProperty, initializeFromRaw, isInternalCopy, markAsReadOnly, propertyExists, readMapFrom, serializeTo, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setInternalCopy, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setSession, setShortProperty, setStringProperty, writeMapToclone, equals, finalize, getClass, hashCode, notify, notifyAll, 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()
public ObjectMessageImpl(Serializable object) throws javax.jms.JMSException
javax.jms.JMSExceptionprotected byte getType()
AbstractMessagegetType in class AbstractMessageprotected void unserializeBodyFrom(RawDataBuffer in)
unserializeBodyFrom in class AbstractMessageprotected final void serializeBodyTo(RawDataBuffer out)
serializeBodyTo in class AbstractMessagepublic void clearBody()
clearBody in interface javax.jms.Messagepublic Serializable getObject() throws javax.jms.JMSException
getObject in interface javax.jms.ObjectMessagejavax.jms.JMSExceptionpublic void setObject(Serializable object) throws javax.jms.JMSException
setObject in interface javax.jms.ObjectMessagejavax.jms.JMSExceptionpublic AbstractMessage copy()
AbstractMessagecopy in class AbstractMessagepublic String toString()
toString in class AbstractMessageCopyright © 2019. All rights reserved.