Interface EventSource
-
- All Implemented Interfaces:
-
org.somda.sdc.dpws.soap.interception.Interceptor
public interface EventSource implements Interceptor
Interface to provide WS-Eventing event source functions.
-
-
Method Summary
Modifier and Type Method Description abstract voidsendNotification(String action, Object payload)Sends a notification to all event sinks. abstract voidsubscriptionEndToAll(WsEventingStatus status)Sends a subscription end to all event sinks. abstract Map<String, SubscriptionManager>getActiveSubscriptions()Returns all active subscription ids with their SubscriptionManager. -
-
Method Detail
-
sendNotification
abstract void sendNotification(String action, Object payload)
Sends a notification to all event sinks.
- Parameters:
action- the action URI used for dispatching to event sinks.payload- a JAXB element or JAXB generated class object to transport.
-
subscriptionEndToAll
abstract void subscriptionEndToAll(WsEventingStatus status)
Sends a subscription end to all event sinks.
- Parameters:
status- the subscription end reason.
-
getActiveSubscriptions
abstract Map<String, SubscriptionManager> getActiveSubscriptions()
Returns all active subscription ids with their SubscriptionManager.
- Returns:
Map of subscription ids and SubscriptionManagers.
-
-
-
-