    001    package com.hammurapi.eventbus.local;
    002
    003    import com.hammurapi.eventbus.AbstractEventBus;
    004    import com.hammurapi.eventbus.AbstractEventHandler;
    005    import com.hammurapi.extract.Predicate;
    006
    007    /**
    008     * Abstract event handler with partially bound generic parameters.
    009     * @author Pavel Vlasov
    010     *
    011     * @param <E>
    012     * @param <P>
    013     * @param <C>
    014     */
    015    public abstract class LocalAbstractEventHandler<E, P extends Comparable<P>, C> extends AbstractEventHandler<E, P, C, AbstractEventBus.Handle<E, P, C, Long>, LocalEventStore<E,P,C>> {
    016
    017            public LocalAbstractEventHandler() {
    018                    super();
    019            }
    020
    021            public LocalAbstractEventHandler(
    022                            int cardinality,
    023                            P priority,
    024                            C context,
    025                            boolean consumes,
    026                            boolean oneOff,
    027                            Mode mode,
    028                            Predicate<E, C> predicate) {
    029                    super(cardinality, priority, context, consumes, oneOff, mode, predicate);
    030            }
    031
    032            public LocalAbstractEventHandler(
    033                            int cardinality,
    034                            P priority,
    035                            C context,
    036                            boolean consumes,
    037                            boolean oneOff,
    038                            Mode mode,
    039                            Predicate<E, C>... predicates) {
    040
    041                    super(cardinality, priority, context, consumes, oneOff, mode, predicates);
    042            }
    043
    044
    045
    046
    047    }