|
xmlBlaster 1.6.2 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface hides the real driver to manage the persistence of messages.
Interface for xmlBlaster to access a persistent store.
| Method Summary | |
void |
erase(XmlKey xmlKey)
Deprecated. Allows a stored message to be deleted. |
MsgUnit |
fetch(java.lang.String oid)
Deprecated. Fetches one message by oid from the persistence. |
java.util.Enumeration |
fetchAllOids()
Deprecated. Fetches all oid's of the messages from the persistence. |
java.lang.String |
getName()
Deprecated. gives the name of the driver |
void |
shutdown()
Deprecated. Closes the instance of the persistence plugin The protocol for storing is implemented in the derived class |
void |
store(MsgUnitWrapper messageWrapper)
Deprecated. Allows a message to be stored. |
void |
update(MsgUnitWrapper messageWrapper)
Deprecated. Allows a stored message content to be updated. |
| Methods inherited from interface org.xmlBlaster.util.plugin.I_Plugin |
getType, getVersion, init |
| Method Detail |
public void shutdown()
throws XmlBlasterException
shutdown in interface I_PluginXmlBlasterException - if an exception occurs. The exception is
handled by the RunLevelManager depending on how the plugin has been
configured with the action:
<action do='STOP' onShutdownRunlevel='2' sequence='5'
onFail='resource.configuration.pluginFailed'>
If onFail is defined to something, the RunLevelManager will stop.
public void store(MsgUnitWrapper messageWrapper)
throws XmlBlasterException
messageWrapper - The container with all necessary message info.
XmlBlasterException
public void update(MsgUnitWrapper messageWrapper)
throws XmlBlasterException
XmlBlasterException
public MsgUnit fetch(java.lang.String oid)
throws XmlBlasterException
oid - The messages name (key oid="...")
XmlBlasterException
public java.util.Enumeration fetchAllOids()
throws XmlBlasterException
XmlBlasterException
public void erase(XmlKey xmlKey)
throws XmlBlasterException
xmlKey - To identify the message
XmlBlasterExceptionpublic java.lang.String getName()
|
xmlBlaster 1.6.2 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||