1 | package com.hammurapi.eventbus.local; |
2 | |
3 | |
4 | /** |
5 | * Local event bus which store generic parameter is bound to LocalEventStore. |
6 | * @author Pavel Vlasov |
7 | * |
8 | * @param <E> |
9 | * @param <P> |
10 | * @param <C> |
11 | */ |
12 | public class LocalEventBus<E, P extends Comparable<P>, C> extends LocalEventBusBase<E,P,C,LocalEventStore<E,P,C>> { |
13 | |
14 | public LocalEventBus(Config<E, P, C> config) { |
15 | super(config); |
16 | } |
17 | |
18 | /** |
19 | * Configurator with bound store generic parameter. |
20 | * @author Pavel Vlasov |
21 | * |
22 | * @param <E> |
23 | * @param <P> |
24 | * @param <C> |
25 | */ |
26 | public static class Config<E, P extends Comparable<P>, C> extends LocalEventBusBase.Config<E, P, C, LocalEventStore<E,P,C>> { |
27 | |
28 | } |
29 | |
30 | |
31 | } |