|
Joram ${version} | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.joram.client.jms.Message
org.objectweb.joram.client.jms.MapMessage
Implements the javax.jms.MapMessage interface.
| Field Summary |
| Fields inherited from class org.objectweb.joram.client.jms.Message |
momMsg, sess |
| Fields inherited from interface javax.jms.Message |
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE |
| Method Summary | |
void |
clearBody()
API method. |
boolean |
getBoolean(java.lang.String name)
API method. |
byte |
getByte(java.lang.String name)
API method. |
byte[] |
getBytes(java.lang.String name)
API method. |
char |
getChar(java.lang.String name)
API method. |
double |
getDouble(java.lang.String name)
API method. |
float |
getFloat(java.lang.String name)
API method. |
int |
getInt(java.lang.String name)
API method. |
long |
getLong(java.lang.String name)
API method. |
java.util.Enumeration |
getMapNames()
API method. |
java.lang.Object |
getObject(java.lang.String name)
API method. |
short |
getShort(java.lang.String name)
API method. |
java.lang.String |
getString(java.lang.String name)
API method. |
boolean |
itemExists(java.lang.String name)
API method. |
protected void |
prepare()
Method actually preparing the message for sending by transfering the local body into the wrapped MOM message. |
void |
setBoolean(java.lang.String name,
boolean value)
API method. |
void |
setByte(java.lang.String name,
byte value)
API method. |
void |
setBytes(java.lang.String name,
byte[] value)
API method. |
void |
setBytes(java.lang.String name,
byte[] value,
int offset,
int length)
API method. |
void |
setChar(java.lang.String name,
char value)
API method. |
void |
setDouble(java.lang.String name,
double value)
API method. |
void |
setFloat(java.lang.String name,
float value)
API method. |
void |
setInt(java.lang.String name,
int value)
API method. |
void |
setLong(java.lang.String name,
long value)
API method. |
void |
setObject(java.lang.String name,
java.lang.Object value)
API method. |
void |
setShort(java.lang.String name,
short value)
API method. |
void |
setString(java.lang.String name,
java.lang.String value)
API method. |
| 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 |
| Method Detail |
public void clearBody()
throws javax.jms.JMSException
clearBody in interface javax.jms.MessageclearBody in class Messagejavax.jms.JMSException - Actually never thrown.
public void setBoolean(java.lang.String name,
boolean value)
throws javax.jms.JMSException
setBoolean in interface javax.jms.MapMessagejavax.jms.MessageNotWriteableException - If the message body is read-only.
javax.jms.JMSException
public void setByte(java.lang.String name,
byte value)
throws javax.jms.JMSException
setByte in interface javax.jms.MapMessagejavax.jms.MessageNotWriteableException - If the message body is read-only.
javax.jms.JMSException
public void setBytes(java.lang.String name,
byte[] value)
throws javax.jms.JMSException
setBytes in interface javax.jms.MapMessagejavax.jms.MessageNotWriteableException - If the message body is read-only.
javax.jms.JMSException
public void setBytes(java.lang.String name,
byte[] value,
int offset,
int length)
throws javax.jms.JMSException
setBytes in interface javax.jms.MapMessagejavax.jms.MessageNotWriteableException - If the message body is read-only.
javax.jms.JMSException
public void setChar(java.lang.String name,
char value)
throws javax.jms.JMSException
setChar in interface javax.jms.MapMessagejavax.jms.MessageNotWriteableException - If the message body is read-only.
javax.jms.JMSException
public void setDouble(java.lang.String name,
double value)
throws javax.jms.JMSException
setDouble in interface javax.jms.MapMessagejavax.jms.MessageNotWriteableException - If the message body is read-only.
javax.jms.JMSException
public void setFloat(java.lang.String name,
float value)
throws javax.jms.JMSException
setFloat in interface javax.jms.MapMessagejavax.jms.MessageNotWriteableException - If the message body is read-only.
javax.jms.JMSException
public void setInt(java.lang.String name,
int value)
throws javax.jms.JMSException
setInt in interface javax.jms.MapMessagejavax.jms.MessageNotWriteableException - If the message body is read-only.
javax.jms.JMSException
public void setLong(java.lang.String name,
long value)
throws javax.jms.JMSException
setLong in interface javax.jms.MapMessagejavax.jms.MessageNotWriteableException - If the message body is read-only.
javax.jms.JMSException
public void setShort(java.lang.String name,
short value)
throws javax.jms.JMSException
setShort in interface javax.jms.MapMessagejavax.jms.MessageNotWriteableException - If the message body is read-only.
javax.jms.JMSException
public void setString(java.lang.String name,
java.lang.String value)
throws javax.jms.JMSException
setString in interface javax.jms.MapMessagejavax.jms.MessageNotWriteableException - If the message body is read-only.
javax.jms.JMSException
public void setObject(java.lang.String name,
java.lang.Object value)
throws javax.jms.JMSException
setObject in interface javax.jms.MapMessagejavax.jms.MessageNotWriteableException - If the message body is read-only.
javax.jms.MessageFormatException - If the value type is invalid.
javax.jms.JMSException
public boolean getBoolean(java.lang.String name)
throws javax.jms.JMSException
getBoolean in interface javax.jms.MapMessagejavax.jms.MessageFormatException - If the value type is invalid.
javax.jms.JMSException
public byte getByte(java.lang.String name)
throws javax.jms.JMSException
getByte in interface javax.jms.MapMessagejavax.jms.MessageFormatException - If the value type is invalid.
javax.jms.JMSException
public byte[] getBytes(java.lang.String name)
throws javax.jms.JMSException
getBytes in interface javax.jms.MapMessagejavax.jms.MessageFormatException - If the value type is invalid.
javax.jms.JMSException
public char getChar(java.lang.String name)
throws javax.jms.JMSException
getChar in interface javax.jms.MapMessagejavax.jms.MessageFormatException - If the value type is invalid.
javax.jms.JMSException
public double getDouble(java.lang.String name)
throws javax.jms.JMSException
getDouble in interface javax.jms.MapMessagejavax.jms.MessageFormatException - If the value type is invalid.
javax.jms.JMSException
public float getFloat(java.lang.String name)
throws javax.jms.JMSException
getFloat in interface javax.jms.MapMessagejavax.jms.MessageFormatException - If the value type is invalid.
javax.jms.JMSException
public int getInt(java.lang.String name)
throws javax.jms.JMSException
getInt in interface javax.jms.MapMessagejavax.jms.MessageFormatException - If the value type is invalid.
javax.jms.JMSException
public long getLong(java.lang.String name)
throws javax.jms.JMSException
getLong in interface javax.jms.MapMessagejavax.jms.MessageFormatException - If the value type is invalid.
javax.jms.JMSException
public java.lang.Object getObject(java.lang.String name)
throws javax.jms.JMSException
getObject in interface javax.jms.MapMessagejavax.jms.JMSException - Actually never thrown.
public short getShort(java.lang.String name)
throws javax.jms.JMSException
getShort in interface javax.jms.MapMessagejavax.jms.MessageFormatException - If the value type is invalid.
javax.jms.JMSException
public java.lang.String getString(java.lang.String name)
throws javax.jms.JMSException
getString in interface javax.jms.MapMessagejavax.jms.JMSException - Actually never thrown.
public boolean itemExists(java.lang.String name)
throws javax.jms.JMSException
itemExists in interface javax.jms.MapMessagejavax.jms.JMSException - Actually never thrown.
public java.util.Enumeration getMapNames()
throws javax.jms.JMSException
getMapNames in interface javax.jms.MapMessagejavax.jms.JMSException - Actually never thrown.
protected void prepare()
throws java.lang.Exception
prepare in class Messagejava.lang.Exception - If an error occurs while serializing.
|
Joram ${version} | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||