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
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
getOrder()
void
intercept
(org.springframework.context.ApplicationEvent event, org.springframework.core.ResolvableType eventType, ApplicationEventInterceptorChain chain) Intercept the specifiedApplicationEvent
withtype
-
Method Details
-
intercept
void intercept(org.springframework.context.ApplicationEvent event, org.springframework.core.ResolvableType eventType, ApplicationEventInterceptorChain chain) Intercept the specifiedApplicationEvent
withtype
- Parameters:
event
-ApplicationEvent
eventType
-ResolvableType
to present the type ofApplicationEvent
chain
-ApplicationEventInterceptorChain
-
getOrder
default int getOrder()- Specified by:
getOrder
in interfaceorg.springframework.core.Ordered
-