Package org.springframework.scheduling.annotation
Java 5 annotation for asynchronous method execution.
Interface Summary Interface Description AsyncConfigurer Interface to be implemented by @Configuration
classes annotated with @EnableAsync
that wish to customize theExecutor
instance used when processing async method invocations or theAsyncUncaughtExceptionHandler
instance used to process exception thrown from async method withvoid
return type.SchedulingConfigurer Optional interface to be implemented by @Configuration
classes annotated with @EnableScheduling
.Class Summary Class Description AbstractAsyncConfiguration Abstract baseConfiguration
class providing common structure for enabling Spring's asynchronous method execution capability.AnnotationAsyncExecutionInterceptor Specialization ofAsyncExecutionInterceptor
that delegates method execution to anExecutor
based on theAsync
annotation.AsyncAnnotationAdvisor Advisor that activates asynchronous method execution through theAsync
annotation.AsyncAnnotationBeanPostProcessor Bean post-processor that automatically applies asynchronous invocation behavior to any bean that carries theAsync
annotation at class or method-level by adding a correspondingAsyncAnnotationAdvisor
to the exposed proxy (either an existing AOP proxy or a newly generated proxy that implements all of the target's interfaces).AsyncConfigurationSelector Selects which implementation ofAbstractAsyncConfiguration
should be used based on the value ofEnableAsync.mode()
on the importing@Configuration
class.AsyncConfigurerSupport A convenienceAsyncConfigurer
that implements all methods so that the defaults are used.AsyncResult<V> A pass-throughFuture
handle that can be used for method signatures which are declared with aFuture
return type for asynchronous execution.ProxyAsyncConfiguration @Configuration
class that registers the Spring infrastructure beans necessary to enable proxy-based asynchronous method execution.ScheduledAnnotationBeanPostProcessor Bean post-processor that registers methods annotated with @Scheduled
to be invoked by aTaskScheduler
according to the "fixedRate", "fixedDelay", or "cron" expression provided via the annotation.SchedulingConfiguration @Configuration
class that registers aScheduledAnnotationBeanPostProcessor
bean capable of processing Spring's @Scheduled
annotation.Annotation Types Summary Annotation Type Description Async Annotation that marks a method as a candidate for asynchronous execution.EnableAsync Enables Spring's asynchronous method execution capability, similar to functionality found in Spring's<task:*>
XML namespace.EnableScheduling Enables Spring's scheduled task execution capability, similar to functionality found in Spring's<task:*>
XML namespace.Scheduled An annotation that marks a method to be scheduled.Schedules Container annotation that aggregates severalScheduled
annotations.