|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.mq.SpyMessage org.jboss.mq.SpyObjectMessage
This class implements javax.jms.ObjectMessage
Nested Class Summary |
Nested classes inherited from class org.jboss.mq.SpyMessage |
SpyMessage.Header |
Field Summary |
Fields inherited from class org.jboss.mq.SpyMessage |
ack, BOOLEAN, BYTE, BYTES_MESS, DOUBLE, ENCAP_MESS, FLOAT, header, INT, LONG, MAP_MESS, NULL, OBJECT, OBJECT_MESS, PROPERTY_REDELIVERY_COUNT, PROPERTY_REDELIVERY_DELAY, PROPERTY_REDELIVERY_LIMIT, PROPERTY_SCHEDULED_DELIVERY, session, SHORT, SPY_MESS, STREAM_MESS, STRING, TEXT_MESS |
Fields inherited from interface javax.jms.Message |
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE |
Constructor Summary | |
SpyObjectMessage()
|
Method Summary | |
void |
clearBody()
Clear the message body |
Serializable |
getObject()
|
SpyMessage |
myClone()
Clone the message |
void |
readExternal(ObjectInput in)
|
void |
setObject(Serializable object)
|
void |
writeExternal(ObjectOutput out)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.jms.Message |
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, setShortProperty, setStringProperty |
Constructor Detail |
public SpyObjectMessage()
Method Detail |
public void setObject(Serializable object) throws javax.jms.JMSException
setObject
in interface javax.jms.ObjectMessage
javax.jms.JMSException
public Serializable getObject() throws javax.jms.JMSException
getObject
in interface javax.jms.ObjectMessage
javax.jms.JMSException
public void clearBody() throws javax.jms.JMSException
SpyMessage
clearBody
in interface javax.jms.Message
clearBody
in class SpyMessage
javax.jms.JMSException
- for any errorpublic SpyMessage myClone() throws javax.jms.JMSException
SpyMessage
myClone
in class SpyMessage
javax.jms.JMSException
- for any errorpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class SpyMessage
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class SpyMessage
IOException
ClassNotFoundException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |