Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mom4j.jms
Class ObjectMessageImpl  view ObjectMessageImpl download ObjectMessageImpl.java

java.lang.Object
  extended byorg.mom4j.jms.MessageImpl
      extended byorg.mom4j.jms.ObjectMessageImpl
All Implemented Interfaces:
javax.jms.Message, javax.jms.ObjectMessage, java.io.Serializable

public class ObjectMessageImpl
extends MessageImpl
implements javax.jms.ObjectMessage


Field Summary
private  java.io.Serializable theObject
           
 
Fields inherited from class org.mom4j.jms.MessageImpl
 
Fields inherited from interface javax.jms.Message
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE
 
Constructor Summary
ObjectMessageImpl()
          Creates new ObjectMessageImpl
 
Method Summary
 void clearBody()
           
 java.io.Serializable getObject()
           
 void setObject(java.io.Serializable s)
           
 
Methods inherited from class org.mom4j.jms.MessageImpl
acknowledge, clearProperties, getBooleanProperty, getByteProperty, getDestination, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPriority, getProperties, getPropertyNames, getShortProperty, getStringProperty, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setProperties, setReceivingSession, setShortProperty, setStringProperty
 
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
 

Field Detail

theObject

private java.io.Serializable theObject
Constructor Detail

ObjectMessageImpl

public ObjectMessageImpl()
Creates new ObjectMessageImpl

Method Detail

setObject

public void setObject(java.io.Serializable s)
               throws javax.jms.JMSException
Specified by:
setObject in interface javax.jms.ObjectMessage

getObject

public java.io.Serializable getObject()
                               throws javax.jms.JMSException
Specified by:
getObject in interface javax.jms.ObjectMessage

clearBody

public void clearBody()
               throws javax.jms.JMSException
Specified by:
clearBody in interface javax.jms.Message
Specified by:
clearBody in class MessageImpl