| |
|
| java.lang.Object org.mockejb.jms.MessageImpl org.mockejb.jms.ObjectMessageImpl
ObjectMessageImpl | public class ObjectMessageImpl extends MessageImpl implements ObjectMessage(Code) | | ObjectMessage implementation.
author: Dimitar Gospodinov See Also: javax.jms.ObjectMessage |
ObjectMessageImpl | public ObjectMessageImpl()(Code) | | Creates empty ObjectMessageImpl .
|
ObjectMessageImpl | public ObjectMessageImpl(Serializable object) throws JMSException(Code) | | Creates new ObjectMessageImpl and sets its body to
object
Parameters: object - throws: JMSException - |
ObjectMessageImpl | public ObjectMessageImpl(ObjectMessage msg) throws JMSException(Code) | | Creates new ObjectMessageImpl and sets its header, properties
and body to the corresponded values from msg
Parameters: msg - throws: JMSException - |
clearBody | public void clearBody() throws JMSException(Code) | | See Also: javax.jms.ObjectMessage.clearBody |
getObject | public Serializable getObject() throws JMSException(Code) | | See Also: javax.jms.ObjectMessage.getObject |
resetBody | void resetBody() throws JMSException(Code) | | Sets message body in read-only mode.
throws: JMSException - |
setObject | public void setObject(Serializable object) throws JMSException(Code) | | See Also: javax.jms.ObjectMessage.setObject(java.io.Serializable) |
|
|
|