org.springframework.scheduling.annotation
Class ProxyAsyncConfiguration
java.lang.Object
org.springframework.scheduling.annotation.AbstractAsyncConfiguration
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProxyAsyncConfiguration
public ProxyAsyncConfiguration()
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