@Configuration public abstract class AbstractAsyncConfiguration extends Object implements ImportAware
Configuration class providing common structure for enabling
Spring's asynchronous method execution capability.EnableAsync| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.core.annotation.AnnotationAttributes |
enableAsync |
protected Executor |
executor |
| Constructor and Description |
|---|
AbstractAsyncConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
abstract Object |
asyncAdvisor()
The component that will apply async execution advice to beans annotated with
the async annotation.
|
void |
setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata)
Set the annotation metadata of the importing @
Configuration class. |
protected org.springframework.core.annotation.AnnotationAttributes enableAsync
protected Executor executor
public void setImportMetadata(org.springframework.core.type.AnnotationMetadata importMetadata)
ImportAwareConfiguration class.setImportMetadata in interface ImportAwarepublic abstract Object asyncAdvisor()