|
xmlBlaster 2.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface I_PersistenceDriver
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 |
---|
void shutdown() throws XmlBlasterException
shutdown
in interface I_Plugin
XmlBlasterException
- 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.void store(MsgUnitWrapper messageWrapper) throws XmlBlasterException
messageWrapper
- The container with all necessary message info.
XmlBlasterException
void update(MsgUnitWrapper messageWrapper) throws XmlBlasterException
xmlKey
- To identify the messagecontent
- The data to storeqos
- The quality of service, may contain another publisher name
XmlBlasterException
MsgUnit fetch(java.lang.String oid) throws XmlBlasterException
oid
- The messages name (key oid="...")
XmlBlasterException
java.util.Enumeration fetchAllOids() throws XmlBlasterException
XmlBlasterException
void erase(XmlKey xmlKey) throws XmlBlasterException
xmlKey
- To identify the message
XmlBlasterException
java.lang.String getName()
|
xmlBlaster 2.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |