@groovy.transform.CompileStatic abstract class AbstractEventBus
Abstract event bus impl
Modifiers | Name | Description |
---|---|---|
protected static class |
AbstractEventBus.EventTriggerTransactionSynchronization |
|
protected static class |
AbstractEventBus.NotificationTrigger |
Modifiers | Name | Description |
---|---|---|
protected java.util.Map<java.lang.CharSequence, java.util.Collection<Subscription>> |
subscriptions |
Type Params | Return Type | Name and description |
---|---|---|
|
protected ClosureSubscription |
buildClosureSubscription(java.lang.CharSequence eventId, groovy.lang.Closure subscriber) |
|
protected java.util.concurrent.Callable |
buildNotificationCallable(Event event, java.util.Collection<Subscription> eventSubscriptions, groovy.lang.Closure reply = null) Build a new trigger to set off notifications |
|
protected AbstractEventBus.NotificationTrigger |
buildNotificationTrigger(Event event, java.util.Collection<Subscription> eventSubscriptions, groovy.lang.Closure reply = null) Build a new trigger to set off notifications |
|
protected EventSubscriberSubscription |
buildSubscriberSubscription(java.lang.CharSequence eventId, Subscriber subscriber) |
|
boolean |
isActive() |
|
EventEmitter |
notify(java.lang.CharSequence eventId, java.lang.Object... data) |
|
EventEmitter |
notify(Event event) |
|
EventEmitter |
notify(Event event, TransactionPhase transactionPhase) |
|
Subscription |
on(java.lang.CharSequence event, groovy.lang.Closure subscriber) |
|
EventEmitter |
publish(java.lang.CharSequence eventId, java.lang.Object... data) |
|
EventEmitter |
publish(Event event) |
|
EventEmitter |
publish(Event event, TransactionPhase transactionPhase) |
|
EventEmitter |
sendAndReceive(java.lang.CharSequence eventId, java.lang.Object data, groovy.lang.Closure reply) |
|
EventEmitter |
sendAndReceive(Event event, groovy.lang.Closure reply) |
|
Subscription |
subscribe(java.lang.CharSequence event, groovy.lang.Closure subscriber) |
|
Subscription |
subscribe(java.lang.CharSequence event, Subscriber subscriber) |
|
Subjects |
unsubscribeAll(java.lang.CharSequence event) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Build a new trigger to set off notifications
event
- The eventeventSubscriptions
- The subscriptionsBuild a new trigger to set off notifications
event
- The eventeventSubscriptions
- The subscriptions