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.
@FunctionalInterface public interface EventSubscriptionFactory
The event subscription factory has the responsibility of creating new event subscription objects taking into account the specification provided by the client using aSubscriptionobject.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EventSubscriptiongetEventSubscription(Subscription subscription)Obtain an instance ofEventSubscriptiongiven the requested subscription requirements.
-
-
-
Method Detail
-
getEventSubscription
EventSubscription getEventSubscription(Subscription subscription)
Obtain an instance ofEventSubscriptiongiven the requested subscription requirements.- Parameters:
subscription- givenSubscriptionspecification- Returns:
- the corresponding
EventSubscriptionobject
-
-