|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.soa.esb.listeners.message.MessageStatusBean
public class MessageStatusBean
Bean that stores data on the message status. Since the Observer/Observable java scheme only allows us to pass a single object, we store all the required data and metadata for reporting here.
Field Summary | |
---|---|
static java.lang.String |
MESSAGE_FAILED
|
static java.lang.String |
MESSAGE_SENT
|
Constructor Summary | |
---|---|
MessageStatusBean()
Constructor. |
|
MessageStatusBean(long f_processTime,
Message f_msg,
java.lang.String f_status)
Constructor. |
Method Summary | |
---|---|
Message |
getMessage()
Message getter. |
java.lang.String |
getMessageStatus()
Message status getter. |
long |
getMessageTime()
Message time getter. |
long |
getProcessTime()
Process time getter. |
void |
setMessage(Message f_msg)
Message mutator. |
void |
setMessageStatus(java.lang.String f_status)
Message status mutator. |
void |
setMessageTime(long f_messageTime)
Message time mutator. |
void |
setProcessTime(long f_processTime)
Process time mutator. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String MESSAGE_SENT
public static final java.lang.String MESSAGE_FAILED
Constructor Detail |
---|
public MessageStatusBean()
public MessageStatusBean(long f_processTime, Message f_msg, java.lang.String f_status)
f_processTime
- Time it takes to process message.f_msg
- the messagef_status
- statusMethod Detail |
---|
public Message getMessage()
public void setMessage(Message f_msg)
f_msg
- the Messagepublic java.lang.String getMessageStatus()
public void setMessageStatus(java.lang.String f_status)
f_status
- message statuspublic long getMessageTime()
public void setMessageTime(long f_messageTime)
f_messageTime
- the time the message was sentpublic long getProcessTime()
public void setProcessTime(long f_processTime)
f_processTime
- processing time of the message
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |