public class TransactionManagementConfigurationSelector extends AdviceModeImportSelector<EnableTransactionManagement>
AbstractTransactionManagementConfiguration
should be used based on the value of EnableTransactionManagement.mode() on the
importing @Configuration class.EnableTransactionManagement,
ProxyTransactionManagementConfiguration,
TransactionManagementConfigUtils.TRANSACTION_ASPECT_CONFIGURATION_CLASS_NAMEDEFAULT_ADVICE_MODE_ATTRIBUTE_NAME| Constructor and Description |
|---|
TransactionManagementConfigurationSelector() |
| Modifier and Type | Method and Description |
|---|---|
protected String[] |
selectImports(AdviceMode adviceMode)
Determine which classes should be imported based on the given
AdviceMode. |
getAdviceModeAttributeName, selectImportspublic TransactionManagementConfigurationSelector()
protected 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<EnableTransactionManagement>adviceMode - the value of the advice mode attribute for the annotation specified via generics.ProxyTransactionManagementConfiguration or
AspectJTransactionManagementConfiguration for PROXY and
ASPECTJ values of EnableTransactionManagement.mode(), respectively