|
Spring Framework | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.context.annotation.AdviceModeImportSelector<EnableAsync>
org.springframework.scheduling.annotation.AsyncConfigurationSelector
public class AsyncConfigurationSelector
Selects which implementation of AbstractAsyncConfiguration should be used based
on the value of EnableAsync.mode() on the importing @Configuration class.
EnableAsync,
ProxyAsyncConfiguration,
AnnotationConfigUtils.ASYNC_EXECUTION_ASPECT_CONFIGURATION_CLASS_NAME| Field Summary |
|---|
| Fields inherited from class org.springframework.context.annotation.AdviceModeImportSelector |
|---|
DEFAULT_ADVICE_MODE_ATTRIBUTE_NAME |
| Constructor Summary | |
|---|---|
AsyncConfigurationSelector()
|
|
| Method Summary | |
|---|---|
java.lang.String[] |
selectImports(AdviceMode adviceMode)
Determine which classes should be imported based on the given AdviceMode. |
| Methods inherited from class org.springframework.context.annotation.AdviceModeImportSelector |
|---|
getAdviceModeAttributeName, selectImports |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AsyncConfigurationSelector()
| Method Detail |
|---|
public java.lang.String[] selectImports(AdviceMode adviceMode)
AdviceMode.
Returning null from this method indicates that the AdviceMode could
not be handled or was unknown and that an IllegalArgumentException should
be thrown.
selectImports in class AdviceModeImportSelector<EnableAsync>adviceMode - the value of the advice mode attribute for the annotation specified via generics.
ProxyAsyncConfiguration or AspectJAsyncConfiguration for
PROXY and ASPECTJ values of EnableAsync.mode(), respectively
|
Spring Framework | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||