org.gcube.indexmanagement.common
Class IndexNotificationConsumer

java.lang.Object
  extended by org.gcube.common.core.informationsystem.notifier.ISNotifier.BaseNotificationConsumer
      extended by org.gcube.indexmanagement.common.IndexNotificationConsumer
All Implemented Interfaces:
org.gcube.common.core.utils.events.GCUBEConsumer<org.gcube.common.core.informationsystem.notifier.ISNotifier.NotificationTopic,Object>
Direct Known Subclasses:
IndexLookupWSResource.ConsumerNotification, IndexUpdaterWSResource.ConsumerNotification

public abstract class IndexNotificationConsumer
extends org.gcube.common.core.informationsystem.notifier.ISNotifier.BaseNotificationConsumer

Author:
Spyros Boutsis, NKUA

Field Summary
 
Fields inherited from class org.gcube.common.core.informationsystem.notifier.ISNotifier.BaseNotificationConsumer
notifications
 
Constructor Summary
IndexNotificationConsumer(IndexWSResource consumerResource, org.gcube.common.core.scope.GCUBEScope notificationScope)
           
 
Method Summary
protected abstract  void onNewNotification(org.gcube.common.core.informationsystem.notifier.ISNotifier.NotificationEvent event)
           
protected  void onNotificationReceived(org.gcube.common.core.informationsystem.notifier.ISNotifier.NotificationEvent event)
           
 
Methods inherited from class org.gcube.common.core.informationsystem.notifier.ISNotifier.BaseNotificationConsumer
onEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexNotificationConsumer

public IndexNotificationConsumer(IndexWSResource consumerResource,
                                 org.gcube.common.core.scope.GCUBEScope notificationScope)
Method Detail

onNotificationReceived

protected final void onNotificationReceived(org.gcube.common.core.informationsystem.notifier.ISNotifier.NotificationEvent event)
Overrides:
onNotificationReceived in class org.gcube.common.core.informationsystem.notifier.ISNotifier.BaseNotificationConsumer

onNewNotification

protected abstract void onNewNotification(org.gcube.common.core.informationsystem.notifier.ISNotifier.NotificationEvent event)


Copyright © 2013. All Rights Reserved.