public class AsyncConfigurationSelector extends AdviceModeImportSelector<EnableAsync>
AbstractAsyncConfiguration
should
be used based on the value of EnableAsync.mode()
on the importing
@Configuration
class.EnableAsync
,
ProxyAsyncConfiguration
DEFAULT_ADVICE_MODE_ATTRIBUTE_NAME
Constructor and Description |
---|
AsyncConfigurationSelector() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
selectImports(AdviceMode adviceMode)
Returns
ProxyAsyncConfiguration or AspectJAsyncConfiguration
for PROXY and ASPECTJ values of EnableAsync.mode() ,
respectively. |
getAdviceModeAttributeName, selectImports
public java.lang.String[] selectImports(AdviceMode adviceMode)
ProxyAsyncConfiguration
or AspectJAsyncConfiguration
for PROXY
and ASPECTJ
values of EnableAsync.mode()
,
respectively.selectImports
in class AdviceModeImportSelector<EnableAsync>
adviceMode
- the value of the advice mode attribute for the annotation specified via generics.null
if the given AdviceMode
is unknown)