E
- The event type.public class EventBusPublisherImpl<E extends Event> extends Object implements EventBusPublisher<E>
Constructor and Description |
---|
EventBusPublisherImpl(EventBusPublisher<E> aPublishEventBus)
Constructs a delegate for a publish event bus.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isMatching(E aEvent) |
void |
publishEvent(E aEvent) |
public EventBusPublisherImpl(EventBusPublisher<E> aPublishEventBus)
aPublishEventBus
- The publish event bus to hide away.public void publishEvent(E aEvent)
publishEvent
in interface Publisher<E extends Event>
public boolean isMatching(E aEvent)
isMatching
in interface org.refcodes.matcher.Matcher<E extends Event>
isMatching
in interface EventMatcher<E extends Event>
Copyright © 2015. All rights reserved.