Class DelegatingApplicationListener
java.lang.Object
org.springframework.boot.context.config.DelegatingApplicationListener
- All Implemented Interfaces:
EventListener
,ApplicationListener<ApplicationEvent>
,Ordered
@Deprecated(since="3.2.0",
forRemoval=true)
public class DelegatingApplicationListener
extends Object
implements ApplicationListener<ApplicationEvent>, Ordered
Deprecated, for removal: This API element is subject to removal in a future version.
since 3.2.0 for removal in 3.4.0 as property based initialization is no
longer recommended
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
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionint
getOrder()
Deprecated, for removal: This API element is subject to removal in a future version.void
Deprecated, for removal: This API element is subject to removal in a future version.void
setOrder
(int order) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
-
Constructor Details
-
DelegatingApplicationListener
public DelegatingApplicationListener()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
onApplicationEvent
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
onApplicationEvent
in interfaceApplicationListener<ApplicationEvent>
-
setOrder
public void setOrder(int order) Deprecated, for removal: This API element is subject to removal in a future version. -
getOrder
public int getOrder()Deprecated, for removal: This API element is subject to removal in a future version.
-