|
Joram 5.2.6 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.objectweb.joram.client.jms.Message
org.objectweb.joram.client.jms.admin.AdminMessage
public class AdminMessage
The class AdminMessage allows to send and receive administration messages. It defines a proprietary JMS message type, the body is serialized through a proprietary encoding.
| Field Summary |
|---|
| Fields inherited from class org.objectweb.joram.client.jms.Message |
|---|
jmsDest, logger, momMsg, propertiesRO, RObody, session |
| Fields inherited from interface javax.jms.Message |
|---|
DEFAULT_DELIVERY_MODE, DEFAULT_PRIORITY, DEFAULT_TIME_TO_LIVE |
| Constructor Summary | |
|---|---|
AdminMessage()
Instantiates a bright new AdminMessage. |
|
AdminMessage(Session session,
Message momMsg)
Instantiates an AdminMessage wrapping a
consumed MOM message containing a Admin message. |
|
| Method Summary | |
|---|---|
AbstractAdminMessage |
getAdminMessage()
get the AbstractAdminMessage body of the message. |
void |
setAdminMessage(AbstractAdminMessage adminMsg)
Sets an AbstractAdminMessage as the body of the message. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AdminMessage()
AdminMessage.
public AdminMessage(Session session,
Message momMsg)
AdminMessage wrapping a
consumed MOM message containing a Admin message.
session - The consuming session.momMsg - The MOM message to wrap.| Method Detail |
|---|
public void setAdminMessage(AbstractAdminMessage adminMsg)
throws javax.jms.MessageNotWriteableException,
javax.jms.MessageFormatException
adminMsg - admin message
javax.jms.MessageNotWriteableException
javax.jms.MessageFormatException
public AbstractAdminMessage getAdminMessage()
throws javax.jms.MessageFormatException
javax.jms.MessageFormatException
|
Joram 5.2.6 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||