Class AbstractAsyncConfiguration
- java.lang.Object
- org.springframework.scheduling.annotation.AbstractAsyncConfiguration
- All Implemented Interfaces:
Aware
,ImportAware
- Direct Known Subclasses:
AspectJAsyncConfiguration
,ProxyAsyncConfiguration
@Configuration public abstract class AbstractAsyncConfiguration extends Object implements ImportAware
Abstract baseConfiguration
class providing common structure for enabling Spring's asynchronous method execution capability.- Since:
- 3.1
- Author:
- Chris Beams, Stephane Nicoll
- See Also:
EnableAsync
Field Summary
Fields Modifier and Type Field Description protected AnnotationAttributes
enableAsync
protected AsyncUncaughtExceptionHandler
exceptionHandler
protected Executor
executor
Constructor Summary
Constructors Constructor Description AbstractAsyncConfiguration()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setImportMetadata(AnnotationMetadata importMetadata)
Set the annotation metadata of the importing @Configuration
class.
Field Detail
enableAsync
protected AnnotationAttributes enableAsync
exceptionHandler
protected AsyncUncaughtExceptionHandler exceptionHandler
Constructor Detail
AbstractAsyncConfiguration
public AbstractAsyncConfiguration()
Method Detail
setImportMetadata
public void setImportMetadata(AnnotationMetadata importMetadata)
Description copied from interface:ImportAware
Set the annotation metadata of the importing @Configuration
class.- Specified by:
setImportMetadata
in interfaceImportAware