com.scalagent.kjoram.MapMessage Class Reference

Inherits com.scalagent.kjoram.Message.

Inheritance diagram for com.scalagent.kjoram.MapMessage:

Inheritance graph
[legend]
Collaboration diagram for com.scalagent.kjoram.MapMessage:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void clearBody () throws JMSException
void setBoolean (String name, boolean value) throws JMSException
void setByte (String name, byte value) throws JMSException
void setBytes (String name, byte[] value) throws JMSException
void setBytes (String name, byte[] value, int offset, int length) throws JMSException
void setChar (String name, char value) throws JMSException
void setInt (String name, int value) throws JMSException
void setLong (String name, long value) throws JMSException
void setShort (String name, short value) throws JMSException
void setString (String name, String value) throws JMSException
void setObject (String name, Object value) throws JMSException
boolean getBoolean (String name) throws JMSException
byte getByte (String name) throws JMSException
byte[] getBytes (String name) throws JMSException
char getChar (String name) throws JMSException
int getInt (String name) throws JMSException
long getLong (String name) throws JMSException
Object getObject (String name) throws JMSException
short getShort (String name) throws JMSException
String getString (String name) throws JMSException
boolean itemExists (String name) throws JMSException
Enumeration getMapNames () throws JMSException

Protected Member Functions

void prepare () throws Exception

Package Functions

 MapMessage ()
 MapMessage (Session sess, com.scalagent.kjoram.messages.Message momMsg) throws MessageFormatException

Detailed Description

Definition at line 31 of file MapMessage.java.


Constructor & Destructor Documentation

com.scalagent.kjoram.MapMessage.MapMessage (  )  [package]

Instanciates a bright new MapMessage.

Definition at line 42 of file MapMessage.java.

com.scalagent.kjoram.MapMessage.MapMessage ( Session  sess,
com.scalagent.kjoram.messages.Message  momMsg 
) throws MessageFormatException [package]

Instanciates a MapMessage wrapping a consumed MOM message containing an hashtable.

Parameters:
sess The consuming session.
momMsg The MOM message to wrap.
Exceptions:
MessageFormatException In case of a problem when getting the MOM message data.

Definition at line 58 of file MapMessage.java.

References com.scalagent.kjoram.Message.momMsg, com.scalagent.kjoram.Message.sess, and com.scalagent.kjoram.excepts.JMSException.setLinkedException().

Here is the call graph for this function:


Member Function Documentation

void com.scalagent.kjoram.MapMessage.clearBody (  )  throws JMSException

API method.

Exceptions:
JMSException Actually never thrown.

Reimplemented from com.scalagent.kjoram.Message.

Definition at line 80 of file MapMessage.java.

void com.scalagent.kjoram.MapMessage.setBoolean ( String  name,
boolean  value 
) throws JMSException

API method.

Exceptions:
MessageNotWriteableException If the message body is read-only.

Definition at line 93 of file MapMessage.java.

References com.scalagent.kjoram.MapMessage.setObject().

Here is the call graph for this function:

void com.scalagent.kjoram.MapMessage.setByte ( String  name,
byte  value 
) throws JMSException

API method.

Exceptions:
MessageNotWriteableException If the message body is read-only.

Definition at line 103 of file MapMessage.java.

References com.scalagent.kjoram.MapMessage.setObject().

Here is the call graph for this function:

void com.scalagent.kjoram.MapMessage.setBytes ( String  name,
byte[]  value 
) throws JMSException

API method.

Exceptions:
MessageNotWriteableException If the message body is read-only.

Definition at line 113 of file MapMessage.java.

References com.scalagent.kjoram.MapMessage.setObject().

Here is the call graph for this function:

void com.scalagent.kjoram.MapMessage.setBytes ( String  name,
byte[]  value,
int  offset,
int  length 
) throws JMSException

API method.

Exceptions:
MessageNotWriteableException If the message body is read-only.

Definition at line 123 of file MapMessage.java.

References com.scalagent.kjoram.MapMessage.setObject().

Here is the call graph for this function:

void com.scalagent.kjoram.MapMessage.setChar ( String  name,
char  value 
) throws JMSException

API method.

Exceptions:
MessageNotWriteableException If the message body is read-only.

Definition at line 139 of file MapMessage.java.

References com.scalagent.kjoram.MapMessage.setObject().

Here is the call graph for this function:

void com.scalagent.kjoram.MapMessage.setInt ( String  name,
int  value 
) throws JMSException

API method.

Exceptions:
MessageNotWriteableException If the message body is read-only.

Definition at line 169 of file MapMessage.java.

References com.scalagent.kjoram.MapMessage.setObject().

Here is the call graph for this function:

void com.scalagent.kjoram.MapMessage.setLong ( String  name,
long  value 
) throws JMSException

API method.

Exceptions:
MessageNotWriteableException If the message body is read-only.

Definition at line 179 of file MapMessage.java.

References com.scalagent.kjoram.MapMessage.setObject().

Here is the call graph for this function:

void com.scalagent.kjoram.MapMessage.setShort ( String  name,
short  value 
) throws JMSException

API method.

Exceptions:
MessageNotWriteableException If the message body is read-only.

Definition at line 189 of file MapMessage.java.

References com.scalagent.kjoram.MapMessage.setObject().

Here is the call graph for this function:

void com.scalagent.kjoram.MapMessage.setString ( String  name,
String  value 
) throws JMSException

API method.

Exceptions:
MessageNotWriteableException If the message body is read-only.

Definition at line 199 of file MapMessage.java.

References com.scalagent.kjoram.MapMessage.setObject().

Here is the call graph for this function:

void com.scalagent.kjoram.MapMessage.setObject ( String  name,
Object  value 
) throws JMSException

API method.

Exceptions:
MessageNotWriteableException If the message body is read-only.
MessageFormatException If the value type is invalid.

Definition at line 210 of file MapMessage.java.

Referenced by com.scalagent.kjoram.MapMessage.setBoolean(), com.scalagent.kjoram.MapMessage.setByte(), com.scalagent.kjoram.MapMessage.setBytes(), com.scalagent.kjoram.MapMessage.setChar(), com.scalagent.kjoram.MapMessage.setInt(), com.scalagent.kjoram.MapMessage.setLong(), com.scalagent.kjoram.MapMessage.setShort(), and com.scalagent.kjoram.MapMessage.setString().

boolean com.scalagent.kjoram.MapMessage.getBoolean ( String  name  )  throws JMSException

API method.

Exceptions:
MessageFormatException If the value type is invalid.

Definition at line 240 of file MapMessage.java.

byte com.scalagent.kjoram.MapMessage.getByte ( String  name  )  throws JMSException

API method.

Exceptions:
MessageFormatException If the value type is invalid.

Definition at line 255 of file MapMessage.java.

byte [] com.scalagent.kjoram.MapMessage.getBytes ( String  name  )  throws JMSException

API method.

Exceptions:
MessageFormatException If the value type is invalid.

Definition at line 270 of file MapMessage.java.

char com.scalagent.kjoram.MapMessage.getChar ( String  name  )  throws JMSException

API method.

Exceptions:
MessageFormatException If the value type is invalid.

Definition at line 285 of file MapMessage.java.

int com.scalagent.kjoram.MapMessage.getInt ( String  name  )  throws JMSException

API method.

Exceptions:
MessageFormatException If the value type is invalid.

Definition at line 330 of file MapMessage.java.

long com.scalagent.kjoram.MapMessage.getLong ( String  name  )  throws JMSException

API method.

Exceptions:
MessageFormatException If the value type is invalid.

Definition at line 345 of file MapMessage.java.

Object com.scalagent.kjoram.MapMessage.getObject ( String  name  )  throws JMSException

API method.

Exceptions:
JMSException Actually never thrown.

Definition at line 360 of file MapMessage.java.

short com.scalagent.kjoram.MapMessage.getShort ( String  name  )  throws JMSException

API method.

Exceptions:
MessageFormatException If the value type is invalid.

Definition at line 370 of file MapMessage.java.

String com.scalagent.kjoram.MapMessage.getString ( String  name  )  throws JMSException

API method.

Exceptions:
JMSException Actually never thrown.

Definition at line 385 of file MapMessage.java.

boolean com.scalagent.kjoram.MapMessage.itemExists ( String  name  )  throws JMSException

API method.

Exceptions:
JMSException Actually never thrown.

Definition at line 395 of file MapMessage.java.

Enumeration com.scalagent.kjoram.MapMessage.getMapNames (  )  throws JMSException

API method.

Exceptions:
JMSException Actually never thrown.

Definition at line 405 of file MapMessage.java.

void com.scalagent.kjoram.MapMessage.prepare (  )  throws Exception [protected]

Method actually preparing the message for sending by transfering the local body into the wrapped MOM message.

Exceptions:
Exception If an error occurs while serializing.

Reimplemented from com.scalagent.kjoram.Message.

Definition at line 417 of file MapMessage.java.

References com.scalagent.kjoram.Message.clearBody(), and com.scalagent.kjoram.Message.momMsg.

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Tue Sep 16 16:15:19 2008 for joram by  doxygen 1.5.0