Class AsyncExecutionAspectSupport

  • All Implemented Interfaces:
    Aware, BeanFactoryAware
    Direct Known Subclasses:
    AsyncExecutionInterceptor

    public abstract class AsyncExecutionAspectSupport
    extends Object
    implements BeanFactoryAware
    Base class for asynchronous method execution aspects, such as org.springframework.scheduling.annotation.AnnotationAsyncExecutionInterceptor or org.springframework.scheduling.aspectj.AnnotationAsyncExecutionAspect.

    Provides support for executor qualification on a method-by-method basis. AsyncExecutionAspectSupport objects must be constructed with a default Executor, but each individual method may further qualify a specific Executor bean to be used when executing it, e.g. through an annotation attribute.

    Since:
    3.1.2
    Author:
    Chris Beams, Juergen Hoeller, Stephane Nicoll