@@ -0,0 +1,670 @@
+package org.jeecqrs.events;%0A%0Aimport java.util.Set;%0A%0A/**%0A * Provides the ability to specify which events a listener wants to%0A * receive on the event bus.%0A * %0A * @param %3CE%3E  the message base type%0A */%0Apublic interface EventBusInterest%3CE%3E %7B%0A%0A    /**%0A     * Gets the set of event types the listener is interested in.%0A     * %0A     * @return  the set of event classes%0A     */%0A    Set%3CClass%3C? extends E%3E%3E interestEventTypes();%0A%0A    /**%0A     * Tells whether the interest includes the given event type.%0A     * %0A     * @param clazz  the event type%0A     * @return  %7B@code true%7D if the interest includes the given even type%0A     */%0A    boolean includes(Class%3C? extends E%3E clazz);%0A%0A%7D%0A

Add EventBusInterest