publishEvent<T extends Object> abstract method

void publishEvent<T extends Object>(
  1. T event
)

Delivers event to every listener that accepts it. By default the listeners run before this call returns, and a listener error reaches the caller; with an asynchronous multicaster they run later. An event that is not an ApplicationEvent is wrapped in a PayloadApplicationEvent<T>.

Implementation

void publishEvent<T extends Object>(T event);