@ApplicationScoped public class EventSubscriptionDataStore extends Object
EventStoreSubscriber which will handle the subscription.| Constructor and Description |
|---|
EventSubscriptionDataStore() |
| Modifier and Type | Method and Description |
|---|---|
List<Class<? extends EventStoreEvent>> |
getEventClasses()
Provides list of events which supposed to be consumed by application.
|
void |
subscribeForEvent(EventSubscription event)
Observes for
EventSubscription |
public void subscribeForEvent(@Observes
EventSubscription event)
EventSubscriptionevent - event which will be the application subscribed forpublic List<Class<? extends EventStoreEvent>> getEventClasses()
EventStoreEvent sub-classesCopyright © 2019. All rights reserved.