public class NotificationDetectorImpl extends AbstractNotificationDetector implements ResourceStateNotificationDetector<eu.dnetlib.enabling.tools.OpaqueResource>
| Constructor and Description |
|---|
NotificationDetectorImpl() |
| Modifier and Type | Method and Description |
|---|---|
SubscriptionRegistry |
getRegistry() |
void |
resourceCreated(eu.dnetlib.enabling.tools.OpaqueResource newResource)
called when a new resource is created.
|
void |
resourceDeleted(eu.dnetlib.enabling.tools.OpaqueResource oldResource)
called when a resource is deleted.
|
void |
resourceUpdated(eu.dnetlib.enabling.tools.OpaqueResource oldResource,
eu.dnetlib.enabling.tools.OpaqueResource newResource)
called when a resource is modified.
|
void |
setRegistry(SubscriptionRegistry registry) |
getSender, setSenderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetSenderpublic void resourceCreated(eu.dnetlib.enabling.tools.OpaqueResource newResource)
resourceCreated in interface ResourceStateNotificationDetector<eu.dnetlib.enabling.tools.OpaqueResource>newResource - new resourceResourceStateNotificationDetector.resourceCreated(java.lang.Object)public void resourceDeleted(eu.dnetlib.enabling.tools.OpaqueResource oldResource)
resourceDeleted in interface ResourceStateNotificationDetector<eu.dnetlib.enabling.tools.OpaqueResource>oldResource - old resourceResourceStateNotificationDetector.resourceDeleted(java.lang.Object)public void resourceUpdated(eu.dnetlib.enabling.tools.OpaqueResource oldResource,
eu.dnetlib.enabling.tools.OpaqueResource newResource)
resourceUpdated in interface ResourceStateNotificationDetector<eu.dnetlib.enabling.tools.OpaqueResource>oldResource - old resourcenewResource - new resourceResourceStateNotificationDetector.resourceUpdated(java.lang.Object,
java.lang.Object)public SubscriptionRegistry getRegistry()
public void setRegistry(SubscriptionRegistry registry)
Copyright © 2017. All rights reserved.