@groovy.transform.CompileStatic trait EventPublisher extends EventBusAware
A trait that can be implemented to make a class an event publisher
Type Params | Return Type | Name and description |
---|---|---|
|
EventEmitter |
notify(java.lang.CharSequence eventId, java.lang.Object... data) @see EventEmitter.notify |
|
EventEmitter |
notify(Event event) @see EventEmitter.notify |
|
EventEmitter |
notify(Event event, TransactionPhase transactionPhase) @see EventEmitter.notify |
|
EventEmitter |
publish(Event event, TransactionPhase transactionPhase) @see EventEmitter.notify |
|
EventEmitter |
publish(java.lang.CharSequence eventId, java.lang.Object... data) @see EventEmitter.notify )} |
|
EventEmitter |
publish(Event event) @see EventEmitter.publish |
|
EventEmitter |
sendAndReceive(Event event, groovy.lang.Closure reply) @see EventEmitter.sendAndReceive |
|
EventEmitter |
sendAndReceive(java.lang.CharSequence eventId, java.lang.Object data, groovy.lang.Closure reply) @see EventEmitter.sendAndReceive |
Methods inherited from class | Name |
---|---|
trait EventBusAware |
getEventBus, setTargetEventBus |