org.objectweb.joram.client.jms

Class MapMessage

Implemented Interfaces:
javax.jms.MapMessage, javax.jms.Message

public class MapMessage
extends Message
implements javax.jms.MapMessage

Implements the javax.jms.MapMessage interface.

Field Summary

Fields inherited from class org.objectweb.joram.client.jms.Message

momMsg, sess

Method Summary

void
clearBody()
API method.
boolean
getBoolean(String name)
API method.
byte
getByte(String name)
API method.
byte[]
getBytes(String name)
API method.
char
getChar(String name)
API method.
double
getDouble(String name)
API method.
float
getFloat(String name)
API method.
int
getInt(String name)
API method.
long
getLong(String name)
API method.
Enumeration
getMapNames()
API method.
Object
getObject(String name)
API method.
short
getShort(String name)
API method.
String
getString(String name)
API method.
boolean
itemExists(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(String name, boolean value)
API method.
void
setByte(String name, byte value)
API method.
void
setBytes(String name, byte[] value)
API method.
void
setBytes(String name, byte[] value, int offset, int length)
API method.
void
setChar(String name, char value)
API method.
void
setDouble(String name, double value)
API method.
void
setFloat(String name, float value)
API method.
void
setInt(String name, int value)
API method.
void
setLong(String name, long value)
API method.
void
setObject(String name, Object value)
API method.
void
setShort(String name, short value)
API method.
void
setString(String name, String value)
API method.

Methods inherited from class org.objectweb.joram.client.jms.Message

acknowledge, clearBody, clearProperties, getBooleanProperty, getByteProperty, getDoubleProperty, getFloatProperty, getIntProperty, getJMSCorrelationID, getJMSCorrelationIDAsBytes, getJMSDeliveryMode, getJMSDestination, getJMSExpiration, getJMSMessageID, getJMSPriority, getJMSRedelivered, getJMSReplyTo, getJMSTimestamp, getJMSType, getLongProperty, getObjectProperty, getPropertyNames, getShortProperty, getStringProperty, prepare, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringProperty

Method Details

clearBody

public void clearBody()
            throws JMSException
API method.
Overrides:
clearBody in interface Message


getBoolean

public boolean getBoolean(String name)
            throws JMSException
API method.


getByte

public byte getByte(String name)
            throws JMSException
API method.


getBytes

public byte[] getBytes(String name)
            throws JMSException
API method.


getChar

public char getChar(String name)
            throws JMSException
API method.


getDouble

public double getDouble(String name)
            throws JMSException
API method.


getFloat

public float getFloat(String name)
            throws JMSException
API method.


getInt

public int getInt(String name)
            throws JMSException
API method.


getLong

public long getLong(String name)
            throws JMSException
API method.


getMapNames

public Enumeration getMapNames()
            throws JMSException
API method.


getObject

public Object getObject(String name)
            throws JMSException
API method.


getShort

public short getShort(String name)
            throws JMSException
API method.


getString

public String getString(String name)
            throws JMSException
API method.


itemExists

public boolean itemExists(String name)
            throws JMSException
API method.


prepare

protected void prepare()
            throws Exception
Method actually preparing the message for sending by transfering the local body into the wrapped MOM message.
Overrides:
prepare in interface Message


setBoolean

public void setBoolean(String name,
                       boolean value)
            throws JMSException
API method.


setByte

public void setByte(String name,
                    byte value)
            throws JMSException
API method.


setBytes

public void setBytes(String name,
                     byte[] value)
            throws JMSException
API method.


setBytes

public void setBytes(String name,
                     byte[] value,
                     int offset,
                     int length)
            throws JMSException
API method.


setChar

public void setChar(String name,
                    char value)
            throws JMSException
API method.


setDouble

public void setDouble(String name,
                      double value)
            throws JMSException
API method.


setFloat

public void setFloat(String name,
                     float value)
            throws JMSException
API method.


setInt

public void setInt(String name,
                   int value)
            throws JMSException
API method.


setLong

public void setLong(String name,
                    long value)
            throws JMSException
API method.


setObject

public void setObject(String name,
                      Object value)
            throws JMSException
API method.


setShort

public void setShort(String name,
                     short value)
            throws JMSException
API method.


setString

public void setString(String name,
                      String value)
            throws JMSException
API method.


Copyright B) 2004 Scalagent - All rights reserved