Module org.refcodes.eventbus
Package org.refcodes.eventbus
Interface EventBusPublisher<E extends org.refcodes.observer.GenericEvent<?>>
- Type Parameters:
E
- the event type being used.
- All Superinterfaces:
org.refcodes.matcher.Matchable<E>
,org.refcodes.observer.Publisher<E>
- All Known Subinterfaces:
EventBus
,GenericEventBus<E,
O, MATCH, META, H>
- All Known Implementing Classes:
AbstractEventBus
,EventBusImpl
public interface EventBusPublisher<E extends org.refcodes.observer.GenericEvent<?>>
extends org.refcodes.matcher.Matchable<E>, org.refcodes.observer.Publisher<E>
The
EventBusPublisher
defines methods to publish events as of
Publisher.publishEvent(GenericEvent)
and to test beforehand if there is a
consumer for a given event as of Matchable.isMatching(Object)
.-
Method Summary
Methods inherited from interface org.refcodes.matcher.Matchable
isMatching
Methods inherited from interface org.refcodes.observer.Publisher
publishEvent