|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.messaging.ra.JBMMessage
org.jboss.messaging.ra.JBMMapMessage
public class JBMMapMessage
A wrapper for a message
Field Summary |
---|
Fields inherited from class org.jboss.messaging.ra.JBMMessage |
---|
message, session |
Fields inherited from interface javax.jms.Message |
---|
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE |
Constructor Summary | |
---|---|
JBMMapMessage(javax.jms.MapMessage message,
JBMSession session)
Create a new wrapper |
Method Summary | |
---|---|
boolean |
getBoolean(java.lang.String name)
Get |
byte |
getByte(java.lang.String name)
Get |
byte[] |
getBytes(java.lang.String name)
Get |
char |
getChar(java.lang.String name)
Get |
double |
getDouble(java.lang.String name)
Get |
float |
getFloat(java.lang.String name)
Get |
int |
getInt(java.lang.String name)
Get |
long |
getLong(java.lang.String name)
Get |
java.util.Enumeration |
getMapNames()
Get the map names |
java.lang.Object |
getObject(java.lang.String name)
Get |
short |
getShort(java.lang.String name)
Get |
java.lang.String |
getString(java.lang.String name)
Get |
boolean |
itemExists(java.lang.String name)
Does the item exist |
void |
setBoolean(java.lang.String name,
boolean value)
Set |
void |
setByte(java.lang.String name,
byte value)
Set |
void |
setBytes(java.lang.String name,
byte[] value)
Set |
void |
setBytes(java.lang.String name,
byte[] value,
int offset,
int length)
Set |
void |
setChar(java.lang.String name,
char value)
Set |
void |
setDouble(java.lang.String name,
double value)
Set |
void |
setFloat(java.lang.String name,
float value)
Set |
void |
setInt(java.lang.String name,
int value)
Set |
void |
setLong(java.lang.String name,
long value)
Set |
void |
setObject(java.lang.String name,
java.lang.Object value)
Set |
void |
setShort(java.lang.String name,
short value)
Set |
void |
setString(java.lang.String name,
java.lang.String value)
Set |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.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, propertyExists, setBooleanProperty, setByteProperty, setDoubleProperty, setFloatProperty, setIntProperty, setJMSCorrelationID, setJMSCorrelationIDAsBytes, setJMSDeliveryMode, setJMSDestination, setJMSExpiration, setJMSMessageID, setJMSPriority, setJMSRedelivered, setJMSReplyTo, setJMSTimestamp, setJMSType, setLongProperty, setObjectProperty, setShortProperty, setStringProperty |
Constructor Detail |
---|
public JBMMapMessage(javax.jms.MapMessage message, JBMSession session)
message
- the messagesession
- the sessionMethod Detail |
---|
public boolean getBoolean(java.lang.String name) throws javax.jms.JMSException
getBoolean
in interface javax.jms.MapMessage
name
- The name
javax.jms.JMSException
- Thrown if an error occurspublic byte getByte(java.lang.String name) throws javax.jms.JMSException
getByte
in interface javax.jms.MapMessage
name
- The name
javax.jms.JMSException
- Thrown if an error occurspublic byte[] getBytes(java.lang.String name) throws javax.jms.JMSException
getBytes
in interface javax.jms.MapMessage
name
- The name
javax.jms.JMSException
- Thrown if an error occurspublic char getChar(java.lang.String name) throws javax.jms.JMSException
getChar
in interface javax.jms.MapMessage
name
- The name
javax.jms.JMSException
- Thrown if an error occurspublic double getDouble(java.lang.String name) throws javax.jms.JMSException
getDouble
in interface javax.jms.MapMessage
name
- The name
javax.jms.JMSException
- Thrown if an error occurspublic float getFloat(java.lang.String name) throws javax.jms.JMSException
getFloat
in interface javax.jms.MapMessage
name
- The name
javax.jms.JMSException
- Thrown if an error occurspublic int getInt(java.lang.String name) throws javax.jms.JMSException
getInt
in interface javax.jms.MapMessage
name
- The name
javax.jms.JMSException
- Thrown if an error occurspublic long getLong(java.lang.String name) throws javax.jms.JMSException
getLong
in interface javax.jms.MapMessage
name
- The name
javax.jms.JMSException
- Thrown if an error occurspublic java.util.Enumeration getMapNames() throws javax.jms.JMSException
getMapNames
in interface javax.jms.MapMessage
javax.jms.JMSException
- Thrown if an error occurspublic java.lang.Object getObject(java.lang.String name) throws javax.jms.JMSException
getObject
in interface javax.jms.MapMessage
name
- The name
javax.jms.JMSException
- Thrown if an error occurspublic short getShort(java.lang.String name) throws javax.jms.JMSException
getShort
in interface javax.jms.MapMessage
name
- The name
javax.jms.JMSException
- Thrown if an error occurspublic java.lang.String getString(java.lang.String name) throws javax.jms.JMSException
getString
in interface javax.jms.MapMessage
name
- The name
javax.jms.JMSException
- Thrown if an error occurspublic boolean itemExists(java.lang.String name) throws javax.jms.JMSException
itemExists
in interface javax.jms.MapMessage
name
- The name
javax.jms.JMSException
- Thrown if an error occurspublic void setBoolean(java.lang.String name, boolean value) throws javax.jms.JMSException
setBoolean
in interface javax.jms.MapMessage
name
- The namevalue
- The value
javax.jms.JMSException
- Thrown if an error occurspublic void setByte(java.lang.String name, byte value) throws javax.jms.JMSException
setByte
in interface javax.jms.MapMessage
name
- The namevalue
- The value
javax.jms.JMSException
- Thrown if an error occurspublic void setBytes(java.lang.String name, byte[] value, int offset, int length) throws javax.jms.JMSException
setBytes
in interface javax.jms.MapMessage
name
- The namevalue
- The valueoffset
- The offsetlength
- The length
javax.jms.JMSException
- Thrown if an error occurspublic void setBytes(java.lang.String name, byte[] value) throws javax.jms.JMSException
setBytes
in interface javax.jms.MapMessage
name
- The namevalue
- The value
javax.jms.JMSException
- Thrown if an error occurspublic void setChar(java.lang.String name, char value) throws javax.jms.JMSException
setChar
in interface javax.jms.MapMessage
name
- The namevalue
- The value
javax.jms.JMSException
- Thrown if an error occurspublic void setDouble(java.lang.String name, double value) throws javax.jms.JMSException
setDouble
in interface javax.jms.MapMessage
name
- The namevalue
- The value
javax.jms.JMSException
- Thrown if an error occurspublic void setFloat(java.lang.String name, float value) throws javax.jms.JMSException
setFloat
in interface javax.jms.MapMessage
name
- The namevalue
- The value
javax.jms.JMSException
- Thrown if an error occurspublic void setInt(java.lang.String name, int value) throws javax.jms.JMSException
setInt
in interface javax.jms.MapMessage
name
- The namevalue
- The value
javax.jms.JMSException
- Thrown if an error occurspublic void setLong(java.lang.String name, long value) throws javax.jms.JMSException
setLong
in interface javax.jms.MapMessage
name
- The namevalue
- The value
javax.jms.JMSException
- Thrown if an error occurspublic void setObject(java.lang.String name, java.lang.Object value) throws javax.jms.JMSException
setObject
in interface javax.jms.MapMessage
name
- The namevalue
- The value
javax.jms.JMSException
- Thrown if an error occurspublic void setShort(java.lang.String name, short value) throws javax.jms.JMSException
setShort
in interface javax.jms.MapMessage
name
- The namevalue
- The value
javax.jms.JMSException
- Thrown if an error occurspublic void setString(java.lang.String name, java.lang.String value) throws javax.jms.JMSException
setString
in interface javax.jms.MapMessage
name
- The namevalue
- The value
javax.jms.JMSException
- Thrown if an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |