public interface ISNotifier
| Modifier and Type | Interface and Description |
|---|---|
static class |
ISNotifier.BaseNotificationConsumer
Base implementation of a
GCUBEConsumer. |
static class |
ISNotifier.GCUBENotificationTopic |
static class |
ISNotifier.NotificationEvent
Generic
GCUBEEvent for notification. |
static class |
ISNotifier.NotificationMessage
Delivered Notification
|
static class |
ISNotifier.NotificationTopic
A
ISNotifier.NotificationTopic for lifetime events . |
static class |
ISNotifier.TopicData
Topic registration data
|
| Modifier and Type | Method and Description |
|---|---|
boolean[] |
isTopicRegistered(GCUBESecurityManager securityManager,
GCUBEScope scope,
List<ISNotifier.TopicData> topics)
Checks if the producer registration is completed for a list of given topics
|
void |
registerISNotification(org.apache.axis.message.addressing.EndpointReferenceType producerEPR,
List<? extends org.globus.wsrf.Topic> notifications,
GCUBESecurityManager manager,
GCUBEScope... scope)
Registers a list of topics as IS Notifications
|
<T extends ISNotifier.BaseNotificationConsumer> |
registerToISNotification(T consumer,
List<ISNotifier.GCUBENotificationTopic> notifications,
GCUBESecurityManager manager,
GCUBEScope... scope)
Registers the consumer to the given list of topics
|
void |
unregisterFromISNotification(GCUBESecurityManager manager,
List<ISNotifier.GCUBENotificationTopic> notifications,
GCUBEScope... scope)
Unregisters the consumer from the given list of topics
|
void |
unregisterISNotification(org.apache.axis.message.addressing.EndpointReferenceType producerEPR,
List<? extends org.globus.wsrf.Topic> notifications,
GCUBESecurityManager manager,
GCUBEScope... scope)
Unregisters a list of new topics as source of IS Notifications
|
<T extends ISNotifier.BaseNotificationConsumer> void registerToISNotification(T consumer, List<ISNotifier.GCUBENotificationTopic> notifications, GCUBESecurityManager manager, GCUBEScope... scope) throws ISNotifierException
notifications - the list of GCUBENotificationTopic to register toconsumer - the ISNotifier.BaseNotificationConsumer to callback whenever a notification is receivedmanager - the GCUBESecurityManager of the consumerscope - the GCUBEScopes in which to register the consumer, it is used instead of the one included in the contextISNotifierException - if the registration failsvoid unregisterFromISNotification(GCUBESecurityManager manager, List<ISNotifier.GCUBENotificationTopic> notifications, GCUBEScope... scope) throws ISNotifierException
notifications - the list of IS Notifications from which to unregister the EndpointReferenceTypemanager - the GCUBESecurityManager of the consumerscope - the GCUBEScopes in which to register the consumer, replacing the one included in the contextISNotifierException - if the unregistration failsvoid registerISNotification(org.apache.axis.message.addressing.EndpointReferenceType producerEPR,
List<? extends org.globus.wsrf.Topic> notifications,
GCUBESecurityManager manager,
GCUBEScope... scope)
throws ISNotifierException
producerEPR - the GCUBEServiceContext of the producernotifications - the list of IS Notifications to registermanager - the GCUBESecurityManager of the producerscope - the GCUBEScopes in which to register the IS notification, it is used instead of the one included in the contextISNotifierException - if the registration failsvoid unregisterISNotification(org.apache.axis.message.addressing.EndpointReferenceType producerEPR,
List<? extends org.globus.wsrf.Topic> notifications,
GCUBESecurityManager manager,
GCUBEScope... scope)
throws ISNotifierException
producerEPR - the EndpointReferenceType of the producernotifications - the list of IS Notification to unregistermanager - the GCUBESecurityManager of the producerscope - the GCUBEScopes in which to unregister the IS notification, it is used instead of the one included in the contextISNotifierException - if the unregistration failsboolean[] isTopicRegistered(GCUBESecurityManager securityManager, GCUBEScope scope, List<ISNotifier.TopicData> topics) throws ISNotifierException
manager - the GCUBESecurityManager of the producerscope - the GCUBEScopes in which to register the IS notificationtopics - list of topics to checkISNotifierException - if it is impossible to perform the check for any topicCopyright © 2015. All Rights Reserved.