接口 ApplicationEventInterceptor

  • 所有超级接口:
    org.springframework.core.Ordered

    public interface ApplicationEventInterceptor
    extends org.springframework.core.Ordered
    ApplicationEvent Interceptor
    从以下版本开始:
    1.0.0
    作者:
    Mercy
    另请参阅:
    ApplicationEvent
    • 字段概要

      • 从接口继承的字段 org.springframework.core.Ordered

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • 方法详细资料

      • intercept

        void intercept​(org.springframework.context.ApplicationEvent event,
                       org.springframework.core.ResolvableType eventType,
                       ApplicationEventInterceptorChain chain)
        Intercept the specified ApplicationEvent with type
        参数:
        event - ApplicationEvent
        eventType - ResolvableType to present the type of ApplicationEvent
        chain - ApplicationEventInterceptorChain
      • getOrder

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