spring-aspects

org.springframework.scheduling.aspectj
Class AspectJAsyncConfiguration

java.lang.Object
  extended by org.springframework.scheduling.annotation.AbstractAsyncConfiguration
      extended by org.springframework.scheduling.aspectj.AspectJAsyncConfiguration
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.annotation.ImportAware

@Configuration
public class AspectJAsyncConfiguration
extends org.springframework.scheduling.annotation.AbstractAsyncConfiguration

@Configuration class that registers the Spring infrastructure beans necessary to enable AspectJ-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
AspectJAsyncConfiguration()
           
 
Method Summary
 org.springframework.scheduling.aspectj.AnnotationAsyncExecutionAspect asyncAdvisor()
           
 
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

AspectJAsyncConfiguration

public AspectJAsyncConfiguration()
Method Detail

asyncAdvisor

@Bean(name="org.springframework.scheduling.config.internalAsyncExecutionAspect")
@Role(value=2)
public org.springframework.scheduling.aspectj.AnnotationAsyncExecutionAspect asyncAdvisor()
Specified by:
asyncAdvisor in class org.springframework.scheduling.annotation.AbstractAsyncConfiguration

spring-aspects