Difference between revisions of "IS-Notification"
From Gcube Wiki
Lucio.lelii (Talk | contribs) (→Interface) |
Lucio.lelii (Talk | contribs) (→Interface) |
||
Line 7: | Line 7: | ||
* '''public void registerISNotification (EndpointReferenceType producerEPR, List<? extends Topic> notifications, GCUBESecurityManager manager, GCUBEScope ... scope) throws ISNotifierException''' – this method registers the reference to a resource (producerEPR) that produces a list of topics (notifications) in the [[IS-Notifier]] in the selected scopes (scope) with a GCUBESecurityManager (manager); | * '''public void registerISNotification (EndpointReferenceType producerEPR, List<? extends Topic> notifications, GCUBESecurityManager manager, GCUBEScope ... scope) throws ISNotifierException''' – this method registers the reference to a resource (producerEPR) that produces a list of topics (notifications) in the [[IS-Notifier]] in the selected scopes (scope) with a GCUBESecurityManager (manager); | ||
* '''public void unregisterISNotification (EndpointReferenceType producerEPR, List<? extends Topic> notifications, GCUBESecurityManager manager, GCUBEScope ... scope) throws ISNotifierException''' – this method unregister the reference to a resource (producerEPR) for a list of topics (notifications) in the [[IS-Notifier]] in the selected scopes (scope) with a GCUBESecurityManager (manager); | * '''public void unregisterISNotification (EndpointReferenceType producerEPR, List<? extends Topic> notifications, GCUBESecurityManager manager, GCUBEScope ... scope) throws ISNotifierException''' – this method unregister the reference to a resource (producerEPR) for a list of topics (notifications) in the [[IS-Notifier]] in the selected scopes (scope) with a GCUBESecurityManager (manager); | ||
+ | * '''public boolean isCompleted(QName topic, EndpointReferenceType producerEpr, GCUBESecurityManager manager, GCUBEScope scope) throws ISNotifierException''' - this methods checks if a topic (topic) registration is completed or not for a producer (producerEpr) in the [[IS-Notifier]] in the selected scopes (scope) with a GCUBESecurityManager (manager); | ||
=== Implementation === | === Implementation === |
Revision as of 18:40, 4 May 2009
Design
Interface
- public <T extends BaseNotificationConsumer> void registerToISNotification(List<QName> notifications, T consumer, GCUBESecurityManager manager, GCUBEScope ... scope) throws ISNotifierException – this method registers a entity of type T (consumer) for a list of QName representing the topics (notifications) in selected Scopes (scope) with a GCUBESecurityManager (manager) in the IS-Notifier;
- public void unregisterFromISNotification(List<QName> notifications, GCUBESecurityManager manager, GCUBEScope ... scope) throws ISNotifierException – this method unregisters the consumer for a list of Topics represented by QNames (notifications) from the IS-Notifier in the selected scopes (scope) with a GCUBESecurityManager (manager);
- public void registerISNotification (EndpointReferenceType producerEPR, List<? extends Topic> notifications, GCUBESecurityManager manager, GCUBEScope ... scope) throws ISNotifierException – this method registers the reference to a resource (producerEPR) that produces a list of topics (notifications) in the IS-Notifier in the selected scopes (scope) with a GCUBESecurityManager (manager);
- public void unregisterISNotification (EndpointReferenceType producerEPR, List<? extends Topic> notifications, GCUBESecurityManager manager, GCUBEScope ... scope) throws ISNotifierException – this method unregister the reference to a resource (producerEPR) for a list of topics (notifications) in the IS-Notifier in the selected scopes (scope) with a GCUBESecurityManager (manager);
- public boolean isCompleted(QName topic, EndpointReferenceType producerEpr, GCUBESecurityManager manager, GCUBEScope scope) throws ISNotifierException - this methods checks if a topic (topic) registration is completed or not for a producer (producerEpr) in the IS-Notifier in the selected scopes (scope) with a GCUBESecurityManager (manager);