Annotation Type EnableEventExtension
-
@Target({TYPE,ANNOTATION_TYPE}) @Retention(RUNTIME) @Documented @Import(EventExtensionRegistrar.class) public @interface EnableEventExtension
Enables Spring's Event Extension- Since:
- 1.0.0
- Author:
- Mercy
-
-
Field Summary
Fields Modifier and Type Fields Description static java.lang.String
NO_EXECUTOR
NoExecutor
Present
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String
executorForListener
A qualifier value for the asynchronous listening ofApplicationListeners
.boolean
intercepted
TheApplicationEvents
andApplicationListeners
should be intercepted byApplicationEventInterceptor
andApplicationListenerInterceptor
respectively or not.
-
-
-
Element Detail
-
intercepted
boolean intercepted
TheApplicationEvents
andApplicationListeners
should be intercepted byApplicationEventInterceptor
andApplicationListenerInterceptor
respectively or not.- Returns:
InterceptingApplicationEventMulticaster
will beinitialized
by the SpringApplicationContext
iftrue
. The default value isfalse
.- See Also:
InterceptingApplicationEventMulticaster
- Default:
- false
-
-
-
executorForListener
java.lang.String executorForListener
A qualifier value for the asynchronous listening ofApplicationListeners
.- Returns:
- 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.
- Default:
- "N/E"
-
-