public class MapMessageImpl extends MessageImpl implements javax.jms.MapMessage
MapMessage implementation.MapMessage| Constructor and Description |
|---|
MapMessageImpl()
Creates empty
MapMessageImpl |
MapMessageImpl(javax.jms.MapMessage msg)
Creates
MapMessageImpl and copies its header, properties and
body from msg |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBoolean(java.lang.String name) |
byte |
getByte(java.lang.String name) |
byte[] |
getBytes(java.lang.String name) |
char |
getChar(java.lang.String name) |
double |
getDouble(java.lang.String name) |
float |
getFloat(java.lang.String name) |
int |
getInt(java.lang.String name) |
long |
getLong(java.lang.String name) |
java.util.Enumeration |
getMapNames() |
java.lang.Object |
getObject(java.lang.String name) |
short |
getShort(java.lang.String name) |
java.lang.String |
getString(java.lang.String name) |
boolean |
itemExists(java.lang.String name) |
void |
setBoolean(java.lang.String name,
boolean value) |
void |
setByte(java.lang.String name,
byte value) |
void |
setBytes(java.lang.String name,
byte[] value) |
void |
setBytes(java.lang.String name,
byte[] value,
int offset,
int length) |
void |
setChar(java.lang.String name,
char value) |
void |
setDouble(java.lang.String name,
double value) |
void |
setFloat(java.lang.String name,
float value) |
void |
setInt(java.lang.String name,
int value) |
void |
setLong(java.lang.String name,
long value) |
void |
setObject(java.lang.String name,
java.lang.Object value) |
void |
setShort(java.lang.String name,
short value) |
void |
setString(java.lang.String name,
java.lang.String value) |
acknowledge, clearBody, 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, setPropertiesNotWriteable, setShortProperty, setStringPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacknowledge, clearBody, 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, setStringPropertypublic MapMessageImpl()
MapMessageImplpublic MapMessageImpl(javax.jms.MapMessage msg)
throws javax.jms.JMSException
MapMessageImpl and copies its header, properties and
body from msgmsg - javax.jms.JMSExceptionpublic boolean getBoolean(java.lang.String name)
throws javax.jms.JMSException
getBoolean in interface javax.jms.MapMessagejavax.jms.JMSExceptionMapMessage.getBoolean(java.lang.String)public byte getByte(java.lang.String name)
throws javax.jms.JMSException
getByte in interface javax.jms.MapMessagejavax.jms.JMSExceptionMapMessage.getByte(java.lang.String)public short getShort(java.lang.String name)
throws javax.jms.JMSException
getShort in interface javax.jms.MapMessagejavax.jms.JMSExceptionMapMessage.getShort(java.lang.String)public char getChar(java.lang.String name)
throws javax.jms.JMSException
getChar in interface javax.jms.MapMessagejavax.jms.JMSExceptionMapMessage.getChar(java.lang.String)public int getInt(java.lang.String name)
throws javax.jms.JMSException
getInt in interface javax.jms.MapMessagejavax.jms.JMSExceptionMapMessage.getInt(java.lang.String)public long getLong(java.lang.String name)
throws javax.jms.JMSException
getLong in interface javax.jms.MapMessagejavax.jms.JMSExceptionMapMessage.getLong(java.lang.String)public float getFloat(java.lang.String name)
throws javax.jms.JMSException
getFloat in interface javax.jms.MapMessagejavax.jms.JMSExceptionMapMessage.getFloat(java.lang.String)public double getDouble(java.lang.String name)
throws javax.jms.JMSException
getDouble in interface javax.jms.MapMessagejavax.jms.JMSExceptionMapMessage.getDouble(java.lang.String)public java.lang.String getString(java.lang.String name)
throws javax.jms.JMSException
getString in interface javax.jms.MapMessagejavax.jms.JMSExceptionMapMessage.getString(java.lang.String)public byte[] getBytes(java.lang.String name)
throws javax.jms.JMSException
getBytes in interface javax.jms.MapMessagejavax.jms.JMSExceptionMapMessage.getBytes(java.lang.String)public java.lang.Object getObject(java.lang.String name)
throws javax.jms.JMSException
getObject in interface javax.jms.MapMessagejavax.jms.JMSExceptionMapMessage.getObject(java.lang.String)public java.util.Enumeration getMapNames()
throws javax.jms.JMSException
getMapNames in interface javax.jms.MapMessagejavax.jms.JMSExceptionMapMessage.getMapNames()public void setBoolean(java.lang.String name,
boolean value)
throws javax.jms.JMSException
setBoolean in interface javax.jms.MapMessagejavax.jms.JMSExceptionMapMessage.setBoolean(java.lang.String, boolean)public void setByte(java.lang.String name,
byte value)
throws javax.jms.JMSException
setByte in interface javax.jms.MapMessagejavax.jms.JMSExceptionMapMessage.setByte(java.lang.String, byte)public void setShort(java.lang.String name,
short value)
throws javax.jms.JMSException
setShort in interface javax.jms.MapMessagejavax.jms.JMSExceptionMapMessage.setShort(java.lang.String, short)public void setChar(java.lang.String name,
char value)
throws javax.jms.JMSException
setChar in interface javax.jms.MapMessagejavax.jms.JMSExceptionMapMessage.setChar(java.lang.String, char)public void setInt(java.lang.String name,
int value)
throws javax.jms.JMSException
setInt in interface javax.jms.MapMessagejavax.jms.JMSExceptionMapMessage.setInt(java.lang.String, int)public void setLong(java.lang.String name,
long value)
throws javax.jms.JMSException
setLong in interface javax.jms.MapMessagejavax.jms.JMSExceptionMapMessage.setLong(java.lang.String, long)public void setFloat(java.lang.String name,
float value)
throws javax.jms.JMSException
setFloat in interface javax.jms.MapMessagejavax.jms.JMSExceptionMapMessage.setFloat(java.lang.String, float)public void setDouble(java.lang.String name,
double value)
throws javax.jms.JMSException
setDouble in interface javax.jms.MapMessagejavax.jms.JMSExceptionMapMessage.setDouble(java.lang.String, double)public void setString(java.lang.String name,
java.lang.String value)
throws javax.jms.JMSException
setString in interface javax.jms.MapMessagejavax.jms.JMSExceptionMapMessage.setString(java.lang.String, java.lang.String)public void setBytes(java.lang.String name,
byte[] value)
throws javax.jms.JMSException
setBytes in interface javax.jms.MapMessagejavax.jms.JMSExceptionMapMessage.setBytes(java.lang.String, byte[])public void setBytes(java.lang.String name,
byte[] value,
int offset,
int length)
throws javax.jms.JMSException
setBytes in interface javax.jms.MapMessagejavax.jms.JMSExceptionMapMessage.setBytes(java.lang.String, byte[], int, int)public void setObject(java.lang.String name,
java.lang.Object value)
throws javax.jms.JMSException
setObject in interface javax.jms.MapMessagejavax.jms.JMSExceptionMapMessage.setObject(java.lang.String, java.lang.Object)public boolean itemExists(java.lang.String name)
throws javax.jms.JMSException
itemExists in interface javax.jms.MapMessagejavax.jms.JMSExceptionMapMessage.itemExists(java.lang.String)