Interface SubscriptionManagerFactory
public interface SubscriptionManagerFactory
Creates
SubscriptionManager instances for event source and sink side.-
Method Summary
Modifier and TypeMethodDescriptioncreateSinkSubscriptionManager(EndpointReferenceType subscriptionManagerEpr, Duration expires, EndpointReferenceType notifyTo, EndpointReferenceType endTo, Collection<String> actions) Creates aSinkSubscriptionManagerinstance.createSourceSubscriptionManager(EndpointReferenceType subscriptionManagerEpr, Duration expires, EndpointReferenceType notifyTo, EndpointReferenceType endTo, String subscriptionId, Collection<String> actions) Creates aSourceSubscriptionManagerinstance.
-
Method Details
-
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.
-