Interface SubscriptionManagerFactory
-
public interface SubscriptionManagerFactoryCreatesSubscriptionManagerinstances for event source and sink side.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SinkSubscriptionManagercreateSinkSubscriptionManager(EndpointReferenceType subscriptionManagerEpr, Duration expires, EndpointReferenceType notifyTo, EndpointReferenceType endTo, Collection<String> actions)Creates aSinkSubscriptionManagerinstance.SourceSubscriptionManagercreateSourceSubscriptionManager(EndpointReferenceType subscriptionManagerEpr, Duration expires, EndpointReferenceType notifyTo, EndpointReferenceType endTo, String subscriptionId, Collection<String> actions)Creates aSourceSubscriptionManagerinstance.
-
-
-
Method Detail
-
createSourceSubscriptionManager
SourceSubscriptionManager createSourceSubscriptionManager(EndpointReferenceType subscriptionManagerEpr, Duration expires, EndpointReferenceType notifyTo, @Nullable EndpointReferenceType endTo, String subscriptionId, Collection<String> actions)
Creates aSourceSubscriptionManagerinstance.- Parameters:
subscriptionManagerEpr- endpoint reference where to request subscription modification requests (GetStatus, Renew, Unsubscribe).expires- expiration duration.notifyTo- endpoint reference where to send notifications to.endTo- endpoint reference where to send end-to request to or null if none is available.subscriptionId- the subscription id for the subscription manager.actions- actions handled by the subscription manager- Returns:
- a new
SourceSubscriptionManagerinstance.
-
createSinkSubscriptionManager
SinkSubscriptionManager createSinkSubscriptionManager(EndpointReferenceType subscriptionManagerEpr, Duration expires, EndpointReferenceType notifyTo, EndpointReferenceType endTo, Collection<String> actions)
Creates aSinkSubscriptionManagerinstance.A subscription id is assigned automatically.
- Parameters:
subscriptionManagerEpr- endpoint reference where to receive subscription modification requests (GetStatus, Renew, Unsubscribe).expires- expiration duration.notifyTo- endpoint reference where to receive notifications at.endTo- endpoint reference where to receive end-to request at.actions- actions handled by the subscription manager- Returns:
- a new
SinkSubscriptionManagerinstance.
-
-