public final class DelegatingApplicationListener extends Object implements org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>
Constructor and Description |
---|
DelegatingApplicationListener() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(org.springframework.context.event.SmartApplicationListener smartApplicationListener)
Adds a new SmartApplicationListener to use.
|
void |
onApplicationEvent(org.springframework.context.ApplicationEvent event) |
public void onApplicationEvent(org.springframework.context.ApplicationEvent event)
onApplicationEvent
in interface org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>
public void addListener(org.springframework.context.event.SmartApplicationListener smartApplicationListener)
smartApplicationListener
- the SmartApplicationListener to use. Cannot be null.Copyright © 2019. All rights reserved.