@groovy.transform.Trait @groovy.transform.AutoFinal @groovy.transform.CompileStatic trait EventPublisher extends EventBusAware implements EventEmitter
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)
|
|
EventEmitter |
notify(Event event)
|
|
EventEmitter |
notify(Event event, TransactionPhase transactionPhase)
|
|
EventEmitter |
publish(Event event, TransactionPhase transactionPhase)
|
|
EventEmitter |
publish(java.lang.CharSequence eventId, java.lang.Object[] data)
|
|
EventEmitter |
publish(Event event)
|
|
EventEmitter |
sendAndReceive(Event event, groovy.lang.Closure reply)
|
|
EventEmitter |
sendAndReceive(java.lang.CharSequence eventId, java.lang.Object data, groovy.lang.Closure reply)
|
Methods inherited from class | Name |
---|---|
trait EventBusAware |
getEventBus, setTargetEventBus |