Class DelegatingApplicationListener
java.lang.Object
org.springframework.boot.context.config.DelegatingApplicationListener
- All Implemented Interfaces:
EventListener,ApplicationListener<ApplicationEvent>,Ordered
public class DelegatingApplicationListener
extends Object
implements ApplicationListener<ApplicationEvent>, Ordered
ApplicationListener that delegates to other listeners that are specified under
a context.listener.classes environment property.- Since:
- 1.0.0
- Author:
- Dave Syer, Phillip Webb
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DelegatingApplicationListener
public DelegatingApplicationListener()
-
-
Method Details
-
onApplicationEvent
- Specified by:
onApplicationEventin interfaceApplicationListener<ApplicationEvent>
-
setOrder
public void setOrder(int order) -
getOrder
public int getOrder()
-