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_NAME,
TransactionManagementConfigUtils.JTA_TRANSACTION_ASPECT_CONFIGURATION_CLASS_NAMEDEFAULT_ADVICE_MODE_ATTRIBUTE_NAME| Constructor and Description |
|---|
TransactionManagementConfigurationSelector() |
| Modifier and Type | Method and Description |
|---|---|
protected String[] |
selectImports(AdviceMode adviceMode)
Returns
ProxyTransactionManagementConfiguration or
AspectJ(Jta)TransactionManagementConfiguration for PROXY
and ASPECTJ values of EnableTransactionManagement.mode(),
respectively. |
getAdviceModeAttributeName, selectImportsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExclusionFilterpublic TransactionManagementConfigurationSelector()
protected String[] selectImports(AdviceMode adviceMode)
ProxyTransactionManagementConfiguration or
AspectJ(Jta)TransactionManagementConfiguration for PROXY
and ASPECTJ values of EnableTransactionManagement.mode(),
respectively.selectImports in class AdviceModeImportSelector<EnableTransactionManagement>adviceMode - the value of the advice mode attribute for the annotation specified via generics.null if the given AdviceMode is unknown)