org.gcube.data.tm.consumers
Class ActivationRecordConsumer
java.lang.Object
org.gcube.common.core.informationsystem.notifier.ISNotifier.BaseNotificationConsumer
org.gcube.data.tm.consumers.ActivationRecordConsumer
- All Implemented Interfaces:
- org.gcube.common.core.utils.events.GCUBEConsumer<org.gcube.common.core.informationsystem.notifier.ISNotifier.NotificationTopic,Object>
public class ActivationRecordConsumer
- extends org.gcube.common.core.informationsystem.notifier.ISNotifier.BaseNotificationConsumer
A ISNotifier.BaseNotificationConsumer of events that relate to activation records in a given scope.
- Author:
- Fabio Simeoni
| Fields inherited from class org.gcube.common.core.informationsystem.notifier.ISNotifier.BaseNotificationConsumer |
notifications |
|
Constructor Summary |
ActivationRecordConsumer(org.gcube.common.core.scope.GCUBEScope scope)
Creates an instance for a given scope. |
| 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 |
ActivationRecordConsumer
public ActivationRecordConsumer(org.gcube.common.core.scope.GCUBEScope scope)
- Creates an instance for a given scope.
- Parameters:
scope - the scope.
onNotificationReceived
public void onNotificationReceived(org.gcube.common.core.informationsystem.notifier.ISNotifier.NotificationEvent event)
-
- Overrides:
onNotificationReceived in class org.gcube.common.core.informationsystem.notifier.ISNotifier.BaseNotificationConsumer
onNewActivationRecord
public void onNewActivationRecord(ActivationRecord record)
- Self-stage with the payload of a new activation record that was not broadcasted by this
running instance.
- Parameters:
record - the record.
Copyright © 2013. All Rights Reserved.