|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MsgBoxStorage
Message Box storage backend. This has implemented in two ways in-memory and database.
| Method Summary | |
|---|---|
String |
createMsgBox()
|
void |
destroyMsgBox(String key)
|
void |
dispose()
Clean up method |
void |
putMessageIntoMsgBox(String msgBoxID,
String messageID,
String soapAction,
org.apache.axiom.om.OMElement message)
|
void |
removeAncientMessages()
The ancientness is defined in the db.config file. |
List<String> |
takeMessagesFromMsgBox(String key)
IMPORTANT::: List retrieved from this method is sorted by time in ascending order i.e the newest message will appear as the last item in the list. |
| Method Detail |
|---|
String createMsgBox()
throws Exception
Exception
void destroyMsgBox(String key)
throws Exception
Exception
List<String> takeMessagesFromMsgBox(String key)
throws Exception
key -
Exception
void putMessageIntoMsgBox(String msgBoxID,
String messageID,
String soapAction,
org.apache.axiom.om.OMElement message)
throws Exception
Exception
void removeAncientMessages()
throws Exception
Exceptionvoid dispose()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||