Modifier and Type | Field and Description |
---|---|
protected org.springframework.context.ApplicationEventPublisher |
eventPublisher |
HIGHEST_PLATFORM_PRECEDENCE, LOWEST_PLATFORM_PRECEDENCE, NAME
Constructor and Description |
---|
EventsImpl() |
Modifier and Type | Method and Description |
---|---|
void |
publish(org.springframework.context.ApplicationEvent event)
Notify all matching listeners registered with this application of an application event.
|
@Inject protected org.springframework.context.ApplicationEventPublisher eventPublisher
public void publish(org.springframework.context.ApplicationEvent event)
Events
You can use PayloadApplicationEvent
to publish any object as an event.