Uses of Interface
org.springframework.core.task.TaskDecorator
Packages that use TaskDecorator
Package
Description
This package defines Spring's core TaskExecutor abstraction,
and provides SyncTaskExecutor and SimpleAsyncTaskExecutor implementations.
Support classes for Spring's TaskExecutor abstraction.
-
Uses of TaskDecorator in org.springframework.core.task
Methods in org.springframework.core.task with parameters of type TaskDecoratorModifier and TypeMethodDescriptionvoidSimpleAsyncTaskExecutor.setTaskDecorator(TaskDecorator taskDecorator) Specify a customTaskDecoratorto be applied to anyRunnableabout to be executed. -
Uses of TaskDecorator in org.springframework.core.task.support
Classes in org.springframework.core.task.support that implement TaskDecoratorModifier and TypeClassDescriptionclassCompositeTaskDecoratorthat delegates to other task decorators.classTaskDecoratorthatwraps the executionof tasks, assisting with context propagation.Methods in org.springframework.core.task.support with parameters of type TaskDecoratorModifier and TypeMethodDescriptionprotected voidTaskExecutorAdapter.doExecute(Executor concurrentExecutor, TaskDecorator taskDecorator, Runnable runnable) Actually execute the givenRunnable(which may be a user-supplied task or a wrapper around a user-supplied task) with the given executor.final voidTaskExecutorAdapter.setTaskDecorator(TaskDecorator taskDecorator) Specify a customTaskDecoratorto be applied to anyRunnableabout to be executed.Constructor parameters in org.springframework.core.task.support with type arguments of type TaskDecoratorModifierConstructorDescriptionCompositeTaskDecorator(Collection<? extends TaskDecorator> taskDecorators) Create a new instance.