Class DelegatingApplicationListener

java.lang.Object
org.springframework.boot.context.config.DelegatingApplicationListener
All Implemented Interfaces:
EventListener, org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>, org.springframework.core.Ordered

@Deprecated(since="3.2.0", forRemoval=true) public class DelegatingApplicationListener extends Object implements org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>, org.springframework.core.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
  • Field Summary

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    onApplicationEvent(org.springframework.context.ApplicationEvent event)
    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

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