类 AwaitingNonWebApplicationListener

  • 所有已实现的接口:
    EventListener, org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>, org.springframework.context.event.SmartApplicationListener, org.springframework.core.Ordered

    public class AwaitingNonWebApplicationListener
    extends Object
    implements org.springframework.context.event.SmartApplicationListener
    Awaiting Non-Web Spring Boot ApplicationListener
    从以下版本开始:
    2.7.0
    • 构造器详细资料

      • AwaitingNonWebApplicationListener

        public AwaitingNonWebApplicationListener()
    • 方法详细资料

      • supportsEventType

        public boolean supportsEventType​(Class<? extends org.springframework.context.ApplicationEvent> eventType)
        指定者:
        supportsEventType 在接口中 org.springframework.context.event.SmartApplicationListener
      • supportsSourceType

        public boolean supportsSourceType​(Class<?> sourceType)
        指定者:
        supportsSourceType 在接口中 org.springframework.context.event.SmartApplicationListener
      • onApplicationEvent

        public void onApplicationEvent​(org.springframework.context.ApplicationEvent event)
        指定者:
        onApplicationEvent 在接口中 org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>
      • getOrder

        public int getOrder()
        指定者:
        getOrder 在接口中 org.springframework.core.Ordered