Interface EventSubscriptionFactory
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
The event subscription factory has the responsibility of creating new event subscription objects taking into account the specification provided by the client
using a
Subscription object.-
Method Summary
Modifier and TypeMethodDescriptiongetEventSubscription(Subscription subscription) Obtain an instance ofEventSubscriptiongiven the requested subscription requirements.
-
Method Details
-
getEventSubscription
Obtain an instance ofEventSubscriptiongiven the requested subscription requirements.- Parameters:
subscription- givenSubscriptionspecification- Returns:
- the corresponding
EventSubscriptionobject
-