cgl.narada.jms
Class JmsPropertyConversionTable
java.lang.Object
cgl.narada.jms.JmsPropertyConversionTable
public class JmsPropertyConversionTable
- extends Object
This is the JMS property conversion table, as specified in the JMS
specification. Problems in concersion usually result in the throwing of the
MessageFormatException.
Column's specify the type that can be read as a tragetted type.
Thus a byte can only be read as a byte/String
whereas a short can be returned from a byte, short and String.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JmsPropertyConversionTable
public JmsPropertyConversionTable()
getBooleanValue
public static boolean getBooleanValue(Object propertyValue)
throws MessageFormatException
- Throws:
MessageFormatException
getByteValue
public static byte getByteValue(Object propertyValue)
throws MessageFormatException
- Throws:
MessageFormatException
getShortValue
public static short getShortValue(Object propertyValue)
throws MessageFormatException
- Throws:
MessageFormatException
getIntValue
public static int getIntValue(Object propertyValue)
throws MessageFormatException
- Throws:
MessageFormatException
getLongValue
public static long getLongValue(Object propertyValue)
throws MessageFormatException
- Throws:
MessageFormatException
getFloatValue
public static float getFloatValue(Object propertyValue)
throws MessageFormatException
- Throws:
MessageFormatException
getDoubleValue
public static double getDoubleValue(Object propertyValue)
throws MessageFormatException
- Throws:
MessageFormatException
getStringValue
public static String getStringValue(Object propertyValue)
throws MessageFormatException
- Throws:
MessageFormatException
For comments and suggestions please send
e-mail to
The NaradaBrokering Project