Package org.springframework.scheduling.annotation
Java 5 annotation for asynchronous method execution.
Interface Summary Interface Description AsyncConfigurer Interface to be implemented by @Configurationclasses annotated with @EnableAsyncthat wish to customize theExecutorinstance used when processing async method invocations or theAsyncUncaughtExceptionHandlerinstance used to process exception thrown from async method withvoidreturn type.SchedulingConfigurer Optional interface to be implemented by @Configurationclasses annotated with @EnableScheduling.Class Summary Class Description AbstractAsyncConfiguration Abstract baseConfigurationclass providing common structure for enabling Spring's asynchronous method execution capability.AnnotationAsyncExecutionInterceptor Specialization ofAsyncExecutionInterceptorthat delegates method execution to anExecutorbased on theAsyncannotation.AsyncAnnotationAdvisor Advisor that activates asynchronous method execution through theAsyncannotation.AsyncAnnotationBeanPostProcessor Bean post-processor that automatically applies asynchronous invocation behavior to any bean that carries theAsyncannotation at class or method-level by adding a correspondingAsyncAnnotationAdvisorto 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 ofAbstractAsyncConfigurationshould be used based on the value ofEnableAsync.mode()on the importing@Configurationclass.AsyncConfigurerSupport A convenienceAsyncConfigurerthat implements all methods so that the defaults are used.AsyncResult<V> A pass-throughFuturehandle that can be used for method signatures which are declared with aFuturereturn type for asynchronous execution.ProxyAsyncConfiguration @Configurationclass that registers the Spring infrastructure beans necessary to enable proxy-based asynchronous method execution.ScheduledAnnotationBeanPostProcessor Bean post-processor that registers methods annotated with @Scheduledto be invoked by aTaskScheduleraccording to the "fixedRate", "fixedDelay", or "cron" expression provided via the annotation.SchedulingConfiguration @Configurationclass that registers aScheduledAnnotationBeanPostProcessorbean capable of processing Spring's @Scheduledannotation.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 severalScheduledannotations.