*/
public void registerNotificationForEvent( String eventType,
String actionType,
NotificationActionHandler handler)
{
EventNotification notification = null;
if(notificationsTable.containsKey(eventType))
notification = notificationsTable.get(eventType);
else
{
notification = new EventNotification(eventType);
notificationsTable.put(eventType, notification);
this.fireNotificationEventTypeEvent(
NotificationEventTypeEvent.EVENT_TYPE_ADDED, eventType);
}
Object existingAction = notification.addAction(actionType, handler);
// We fire the appropriate event depending on whether this is an
// already existing actionType or a new one.
if (existingAction != null)
{