org.springframework.scheduling.annotation
Class ProxyAsyncConfiguration

java.lang.Object
  extended by org.springframework.scheduling.annotation.AbstractAsyncConfiguration
      extended by org.springframework.scheduling.annotation.ProxyAsyncConfiguration
All Implemented Interfaces:
Aware, ImportAware

@Configuration
public class ProxyAsyncConfiguration
extends AbstractAsyncConfiguration

@Configuration class that registers the Spring infrastructure beans necessary to enable proxy-based asynchronous method execution.

Since:
3.1
Author:
Chris Beams
See Also:
EnableAsync, AsyncConfigurationSelector

Field Summary
 
Fields inherited from class org.springframework.scheduling.annotation.AbstractAsyncConfiguration
enableAsync, executor
 
Constructor Summary
ProxyAsyncConfiguration()
           
 
Method Summary
 AsyncAnnotationBeanPostProcessor asyncAdvisor()
          The component that will apply async execution advice to beans annotated with the async annotation.
 
Methods inherited from class org.springframework.scheduling.annotation.AbstractAsyncConfiguration
setImportMetadata
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyAsyncConfiguration

public ProxyAsyncConfiguration()
Method Detail

asyncAdvisor

@Bean(name="org.springframework.context.annotation.internalAsyncAnnotationProcessor")
@Role(value=2)
public AsyncAnnotationBeanPostProcessor asyncAdvisor()
Description copied from class: AbstractAsyncConfiguration
The component that will apply async execution advice to beans annotated with the async annotation. Subclasses will provide either a BeanPostProcessor in the case of proxy-based advice, or an AspectJ aspect if weaving is preferred.

Specified by:
asyncAdvisor in class AbstractAsyncConfiguration