|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.jms.MessageImpl (src)
org.jboss.jms.ObjectMessageImpl
Field Summary |
Fields inherited from class org.jboss.jms.MessageImpl (src) |
body, deliveryId, type |
Fields inherited from interface javax.jms.Message (src) |
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE |
Constructor Summary | |
ObjectMessageImpl(java.io.Serializable object)
|
Method Summary | |
java.io.Serializable |
getObject()
Gets the serializable object containing this message's data. |
void |
setObject(java.io.Serializable object)
Sets the serializable object containing this message's data. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ObjectMessageImpl(java.io.Serializable object)
Method Detail |
public java.io.Serializable getObject() throws JMSException (src)
ObjectMessage (src)
getObject
in interface ObjectMessage (src)
JMSException (src)
- if the JMS provider fails to get the object
due to some internal error.public void setObject(java.io.Serializable object) throws JMSException (src)
ObjectMessage (src)
ObjectMessage
contains a snapshot of the object at the time setObject()
is called; subsequent modifications of the object will have no
effect on the ObjectMessage
body.
setObject
in interface ObjectMessage (src)
object
- the message's data
JMSException (src)
- if the JMS provider fails to set the object
due to some internal error.
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |