|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.axonframework.gae.commandhandling.SimpleEventBusWithoutStatistics
public class SimpleEventBusWithoutStatistics
This is a temporary copy of the SimpleEventBus, made to run on google app engine. We removed all the statistics stuff. We are still looking for a better solution.
| Constructor Summary | |
|---|---|
SimpleEventBusWithoutStatistics()
|
|
| Method Summary | |
|---|---|
void |
publish(EventMessage... events)
Publish a collection of events on this bus (one, or multiple). |
void |
subscribe(EventListener eventListener)
Subscribe the given eventListener to this bus. |
void |
unsubscribe(EventListener eventListener)
Unsubscribe the given eventListener to this bus. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleEventBusWithoutStatistics()
| Method Detail |
|---|
public void publish(EventMessage... events)
EventBusevents as a single batch and distribute the events as such to
all subscribed EventListeners.
publish in interface EventBusevents - The collection of events to publishpublic void unsubscribe(EventListener eventListener)
EventBuseventListener to this bus. When unsubscribed, it will no longer receive
events
published to this bus.
unsubscribe in interface EventBuseventListener - The event listener to unsubscribepublic void subscribe(EventListener eventListener)
EventBuseventListener to this bus. When subscribed, it will receive all events
published to this bus.
If the given eventListener is already subscribed, nothing happens.
subscribe in interface EventBuseventListener - The event listener to subscribe
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||