接口 SmartApplicationListener

    • 方法详细资料

      • supportsEventType

        boolean supportsEventType​(Class<? extends ApplicationEvent> eventType)
        Determine whether this listener actually supports the given event type.
        参数:
        eventType - the event type (never null)
      • supportsSourceType

        boolean supportsSourceType​(Class<?> sourceType)
        Determine whether this listener actually supports the given source type.
        参数:
        sourceType - the source type, or null if no source