Interface SubscriptionManagerFactory
-
- All Implemented Interfaces:
public interface SubscriptionManagerFactoryCreates SubscriptionManager instances for event source and sink side.
-
-
Method Summary
Modifier and Type Method Description abstract SourceSubscriptionManagercreateSourceSubscriptionManager(EndpointReferenceType subscriptionManagerEpr, Duration expires, EndpointReferenceType notifyTo, @Nullable() EndpointReferenceType endTo, String subscriptionId, List<Object> filters, String filterDialect, @Nullable() String callerId)Creates a SourceSubscriptionManager instance. abstract SinkSubscriptionManagercreateSinkSubscriptionManager(EndpointReferenceType subscriptionManagerEpr, Duration expires, EndpointReferenceType notifyTo, EndpointReferenceType endTo, List<Object> filters, String filterDialect, String subscriptionId)Creates a SinkSubscriptionManager instance. -
-
Method Detail
-
createSourceSubscriptionManager
abstract SourceSubscriptionManager createSourceSubscriptionManager(EndpointReferenceType subscriptionManagerEpr, Duration expires, EndpointReferenceType notifyTo, @Nullable() EndpointReferenceType endTo, String subscriptionId, List<Object> filters, String filterDialect, @Nullable() String callerId)
Creates a SourceSubscriptionManager instance.
- 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.filters- filter objects handled by the subscription manager (depending on the filter dialect).filterDialect- the filter dialect as a URI.callerId- the caller id or null if none is available.- Returns:
a new SourceSubscriptionManager instance.
-
createSinkSubscriptionManager
abstract SinkSubscriptionManager createSinkSubscriptionManager(EndpointReferenceType subscriptionManagerEpr, Duration expires, EndpointReferenceType notifyTo, EndpointReferenceType endTo, List<Object> filters, String filterDialect, String subscriptionId)
Creates a SinkSubscriptionManager instance.
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.filters- filter objects handled by the subscription manager (depending on the filter dialect).filterDialect- the filter dialect as a URI.subscriptionId- the subscription id for the subscription manager.- Returns:
a new SinkSubscriptionManager instance.
-
-
-
-