注释类型 EnableEventExtension
-
@Target({TYPE,ANNOTATION_TYPE}) @Retention(RUNTIME) @Documented @Import(EventExtensionRegistrar.class) public @interface EnableEventExtension
Enables Spring's Event Extension- 从以下版本开始:
- 1.0.0
- 作者:
- Mercy
-
-
字段概要
字段 修饰符和类型 字段 说明 static java.lang.String
NO_EXECUTOR
NoExecutor
Present
-
可选元素概要
可选元素 修饰符和类型 可选元素 说明 java.lang.String
executorForListener
A qualifier value for the asynchronous listening ofApplicationListeners
.boolean
intercepted
TheApplicationEvents
andApplicationListeners
should be intercepted byApplicationEventInterceptor
andApplicationListenerInterceptor
respectively or not.
-
-
-
元素详细资料
-
intercepted
boolean intercepted
TheApplicationEvents
andApplicationListeners
should be intercepted byApplicationEventInterceptor
andApplicationListenerInterceptor
respectively or not.- 返回:
InterceptingApplicationEventMulticaster
will beinitialized
by the SpringApplicationContext
iftrue
. 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"
-
-