Annotation Interface VaadinTaskExecutor
@Target({FIELD,METHOD,PARAMETER,TYPE,ANNOTATION_TYPE})
@Retention(RUNTIME)
@Documented
@Inherited
@Qualifier
public @interface VaadinTaskExecutor
Qualifier annotation for marking a
TaskExecutor bean as a Vaadin-specific
Executor.
The bean annotated with this qualifier will function as the primary
TaskExecutor for Vaadin-specific
asynchronous operations.
Alternatively, a TaskExecutor bean can
be declared with the name VaadinTaskExecutor.
Constraints:
- There should be at most one
TaskExecutorbean annotated with@VaadinTaskExecutor. - Both an annotated bean and a bean with the name
VaadinTaskExecutorcannot exist simultaneously.
-
Field Summary
Fields
-
Field Details
-
NAME
The name of theTaskExecutorbean specifically used for Vaadin-related asynchronous tasks. This constant can be used as a bean name to designate a singleTaskExecutorimplementation as the primary executor for handling Vaadin-specific task execution.- See Also:
-