Notify all <strong>matching</strong> listeners registered with this
application of an event.
<p>If the specified {@code event} is not an {@link ApplicationEvent},
it is wrapped in a {@link PayloadApplicationEvent}.
@param event the event to publish
@since 4.2
@see PayloadApplicationEvent
Notify all <strong>matching</strong> listeners registered with this application of an event. <p>If the specified {@code event} is not an {@link ApplicationEvent}, it is wrapped in a {@link PayloadApplicationEvent}. @param event the event to publish @since 4.2 @see PayloadApplicationEvent