|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A DestinationCacheEventListener responds to events generated by a
DestinationCache
.
It gets notified when a message is added or removed for a particular
destination.
Method Summary | |
boolean |
messageAdded(MessageImpl message)
This event is called when a non-persistent message is added to the DestinationCache. |
boolean |
messageRemoved(MessageImpl message)
This event is called when a message is removed from the DestinationCache. |
boolean |
persistentMessageAdded(java.sql.Connection connection,
MessageImpl message)
This event is called when a persistent message is added to the DestinationCache. |
boolean |
persistentMessageRemoved(java.sql.Connection connection,
MessageImpl message)
This event is called when a message is removed from the DestinationCache. |
Method Detail |
public boolean messageAdded(MessageImpl message)
message
- - message added to cachepublic boolean messageRemoved(MessageImpl message)
message
- - message removed from cachepublic boolean persistentMessageAdded(java.sql.Connection connection, MessageImpl message) throws PersistenceException
connection
- - the database connectionmessage
- - message added to cachePersistenceException
- - if there is a persistence related problempublic boolean persistentMessageRemoved(java.sql.Connection connection, MessageImpl message) throws PersistenceException
connection
- - the database connectionmessage
- - message to remove from cachePersistenceException
- - if there is a persistence related problem
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |