We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.spring.annotation.
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
TaskExecutor
bean annotated with@VaadinTaskExecutor
. - Both an annotated bean and a bean with the name
VaadinTaskExecutor
cannot exist simultaneously.
-
Field Summary
Fields
-
Field Details
-
NAME
The name of the
TaskExecutor
bean specifically used for Vaadin-related asynchronous tasks. This constant can be used as a bean name to designate a singleTaskExecutor
implementation as the primary executor for handling Vaadin-specific task execution.See Also:
-