public class TransactionManagementConfigurationSelector extends org.springframework.context.annotation.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_NAME,
TransactionManagementConfigUtils.JTA_TRANSACTION_ASPECT_CONFIGURATION_CLASS_NAME| Constructor and Description |
|---|
TransactionManagementConfigurationSelector() |
| Modifier and Type | Method and Description |
|---|---|
protected String[] |
selectImports(org.springframework.context.annotation.AdviceMode adviceMode)
Returns
ProxyTransactionManagementConfiguration or
AspectJ(Jta)TransactionManagementConfiguration for PROXY
and ASPECTJ values of EnableTransactionManagement.mode(),
respectively. |
public TransactionManagementConfigurationSelector()
protected String[] selectImports(org.springframework.context.annotation.AdviceMode adviceMode)
ProxyTransactionManagementConfiguration or
AspectJ(Jta)TransactionManagementConfiguration for PROXY
and ASPECTJ values of EnableTransactionManagement.mode(),
respectively.selectImports in class org.springframework.context.annotation.AdviceModeImportSelector<EnableTransactionManagement>