注释类型 EnableEventExtension
-
@Target({TYPE,ANNOTATION_TYPE}) @Retention(RUNTIME) @Documented @Import(EventExtensionRegistrar.class) public @interface EnableEventExtensionEnables Spring's Event Extension- 从以下版本开始:
- 1.0.0
- 作者:
- Mercy
-
-
字段概要
字段 修饰符和类型 字段 说明 static java.lang.StringNO_EXECUTORNoExecutorPresent
-
可选元素概要
可选元素 修饰符和类型 可选元素 说明 java.lang.StringexecutorForListenerA qualifier value for the asynchronous listening ofApplicationListeners.booleaninterceptedTheApplicationEventsandApplicationListenersshould be intercepted byApplicationEventInterceptorandApplicationListenerInterceptorrespectively or not.
-
-
-
元素详细资料
-
intercepted
boolean intercepted
TheApplicationEventsandApplicationListenersshould be intercepted byApplicationEventInterceptorandApplicationListenerInterceptorrespectively or not.- 返回:
InterceptingApplicationEventMulticasterwill beinitializedby the SpringApplicationContextiftrue. The default value isfalse.- 另请参阅:
InterceptingApplicationEventMulticaster
- 默认值:
- false
-
-
-
executorForListener
java.lang.String executorForListener
A qualifier value for the asynchronous listening ofApplicationListeners.- 返回:
- the qualifier value (or the bean name) of a specific Executor or TaskExecutor bean definition. The default value is an empty string indicates no Executor or TaskExecutor used.
- 默认值:
- "N/E"
-
-