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
  • Constructor Details

    • DelegatingApplicationListener

      public DelegatingApplicationListener()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • onApplicationEvent

      public void onApplicationEvent(ApplicationEvent event)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      onApplicationEvent in interface ApplicationListener<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.
      Specified by:
      getOrder in interface Ordered