|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.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.ObjectMessagejavax.jms.JMSExceptionpublic Serializable getObject() throws javax.jms.JMSException
getObject in interface javax.jms.ObjectMessagejavax.jms.JMSException
public void clearBody()
throws javax.jms.JMSException
SpyMessage
clearBody in interface javax.jms.MessageclearBody in class SpyMessagejavax.jms.JMSException - for any errorpublic SpyMessage myClone() throws javax.jms.JMSException
SpyMessage
myClone in class SpyMessagejavax.jms.JMSException - for any errorpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class SpyMessageIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class SpyMessageIOException
ClassNotFoundException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||