|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.mockejb.jms.MessageImpl
org.mockejb.jms.ObjectMessageImpl
ObjectMessage implementation.
ObjectMessage| Field Summary |
| Fields inherited from interface javax.jms.Message |
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE |
| Constructor Summary | |
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 |
|
| Method Summary | |
void |
clearBody()
|
java.io.Serializable |
getObject()
|
void |
setObject(java.io.Serializable object)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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 ObjectMessageImpl()
ObjectMessageImpl.
public ObjectMessageImpl(java.io.Serializable object)
throws javax.jms.JMSException
ObjectMessageImpl and sets its body to
object
object -
javax.jms.JMSException
public ObjectMessageImpl(javax.jms.ObjectMessage msg)
throws javax.jms.JMSException
ObjectMessageImpl and sets its header, properties
and body to the corresponded values from msg
msg -
javax.jms.JMSException| Method Detail |
public 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()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||