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
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.