Interface ApplicationEventInterceptor

  • All Superinterfaces:
    org.springframework.core.Ordered

    public interface ApplicationEventInterceptor
    extends org.springframework.core.Ordered
    ApplicationEvent Interceptor
    Since:
    1.0.0
    Author:
    Mercy
    See Also:
    ApplicationEvent
    • Method Detail

      • intercept

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

        default int getOrder()
        Specified by:
        getOrder in interface org.springframework.core.Ordered