org.infoglue.cms.util
Interface NotificationListener

All Known Implementing Classes:
FileLogger, RemoteCacheUpdater, TransactionHistoryWriter, XMLNotificationWriter

public interface NotificationListener

This is the interface for all controllers that wants to listen to new notificationMessages.


Method Summary
 void notify(NotificationMessage message)
          This method gets called when a new NotificationMessage is available.
 void setContextParameters(java.util.Map map)
          This method sets the context/arguments thelistener should operate with.
 

Method Detail

setContextParameters

public void setContextParameters(java.util.Map map)
This method sets the context/arguments thelistener should operate with. Could be debuglevels and stuff like that.


notify

public void notify(NotificationMessage message)
This method gets called when a new NotificationMessage is available.