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 baseConfigurationclass 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 AnnotationAttributesenableAsyncprotected AsyncUncaughtExceptionHandlerexceptionHandlerprotected Executorexecutor
Constructor Summary
Constructors Constructor Description AbstractAsyncConfiguration()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetImportMetadata(AnnotationMetadata importMetadata)Set the annotation metadata of the importing @Configurationclass.
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:ImportAwareSet the annotation metadata of the importing @Configurationclass.- Specified by:
setImportMetadatain interfaceImportAware