|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PersistenceManager
This class allows provides the base for user supplied persistence packages.
Method Summary | |
---|---|
void |
add(MessageReference message,
Tx txId)
Add a message to the persistent store. |
void |
closeQueue(JMSDestination jmsDest,
SpyDestination dest)
Close a queue |
void |
commitPersistentTx(Tx txId)
Commit the transaction to the persistent store. |
Tx |
createPersistentTx()
Create and return a unique transaction id. |
MessageCache |
getMessageCacheInstance()
Get the message cache |
TxManager |
getTxManager()
Get a transaction manager. |
void |
remove(MessageReference message,
Tx txId)
Remove message from the persistent store. |
void |
restoreQueue(JMSDestination jmsDest,
SpyDestination dest)
Restore a queue. |
void |
rollbackPersistentTx(Tx txId)
Rollback the transaction. |
void |
update(MessageReference message,
Tx txId)
Update message in the persistent store. |
Method Detail |
---|
MessageCache getMessageCacheInstance()
Tx createPersistentTx() throws javax.jms.JMSException
javax.jms.JMSException
- for any errorvoid commitPersistentTx(Tx txId) throws javax.jms.JMSException
txId
- Description of Parameter
javax.jms.JMSException
- for any errorvoid rollbackPersistentTx(Tx txId) throws javax.jms.JMSException
txId
- Description of Parameter
javax.jms.JMSException
- for any errorTxManager getTxManager()
javax.jms.JMSException
- for any errorvoid add(MessageReference message, Tx txId) throws javax.jms.JMSException
message
- the messagetxId
- the transaction
javax.jms.JMSException
- for any errorvoid restoreQueue(JMSDestination jmsDest, SpyDestination dest) throws javax.jms.JMSException
jmsDest
- the jms destinationdest
- the client destination
javax.jms.JMSException
- for any errorvoid update(MessageReference message, Tx txId) throws javax.jms.JMSException
message
- txId
- Description of Parameter
javax.jms.JMSException
- for any errorvoid remove(MessageReference message, Tx txId) throws javax.jms.JMSException
message
- the messagetxId
- the transaction
javax.jms.JMSException
- for any errorvoid closeQueue(JMSDestination jmsDest, SpyDestination dest) throws javax.jms.JMSException
jmsDest
- the jms destinationdest
- the client destination
javax.jms.JMSException
- for any error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |