|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISNotifier
Defines the local interface to the subscription/notification mechanism of an Information System in a gCube infrastructure.
| Nested Class Summary | |
|---|---|
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 |
| Method Summary | ||
|---|---|---|
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 |
|
|
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 |
|
| Method Detail |
|---|
<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 context
ISNotifierException - if the registration fails
void 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 context
ISNotifierException - if the unregistration fails
void 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 context
ISNotifierException - if the registration fails
void 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 context
ISNotifierException - if the unregistration fails
boolean[] 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 check
ISNotifierException - if it is impossible to perform the check for any topic
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||