Class TransactionManagementConfigurationSelector
java.lang.Object
org.springframework.context.annotation.AdviceModeImportSelector<EnableTransactionManagement>
org.springframework.transaction.annotation.TransactionManagementConfigurationSelector
- All Implemented Interfaces:
- ImportSelector
public class TransactionManagementConfigurationSelector
extends AdviceModeImportSelector<EnableTransactionManagement>
Selects which implementation of 
AbstractTransactionManagementConfiguration
 should be used based on the value of EnableTransactionManagement.mode() on the
 importing @Configuration class.- Since:
- 3.1
- Author:
- Chris Beams, Juergen Hoeller
- See Also:
- 
Field SummaryFields inherited from class org.springframework.context.annotation.AdviceModeImportSelectorDEFAULT_ADVICE_MODE_ATTRIBUTE_NAME
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected String[]selectImports(AdviceMode adviceMode) ReturnsProxyTransactionManagementConfigurationorAspectJ(Jta)TransactionManagementConfigurationforPROXYandASPECTJvalues ofEnableTransactionManagement.mode(), respectively.Methods inherited from class org.springframework.context.annotation.AdviceModeImportSelectorgetAdviceModeAttributeName, selectImportsMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.annotation.ImportSelectorgetExclusionFilter
- 
Constructor Details- 
TransactionManagementConfigurationSelectorpublic TransactionManagementConfigurationSelector()
 
- 
- 
Method Details- 
selectImportsReturnsProxyTransactionManagementConfigurationorAspectJ(Jta)TransactionManagementConfigurationforPROXYandASPECTJvalues ofEnableTransactionManagement.mode(), respectively.- Specified by:
- selectImportsin class- AdviceModeImportSelector<EnableTransactionManagement>
- Parameters:
- adviceMode- the value of the advice mode attribute for the annotation specified via generics.
- Returns:
- array containing classes to import (empty array if none;
 nullif the givenAdviceModeis unknown)
 
 
-