クラス TransactionManagementConfigurationSelector
java.lang.ObjectSE
org.springframework.context.annotation.AdviceModeImportSelector<EnableTransactionManagement>
org.springframework.transaction.annotation.TransactionManagementConfigurationSelector
- 実装されたすべてのインターフェース:
ImportSelector
public class TransactionManagementConfigurationSelector
extends AdviceModeImportSelector<EnableTransactionManagement>
インポートする
@Configuration
クラスの EnableTransactionManagement.mode()
の値に基づいて、使用する AbstractTransactionManagementConfiguration
の実装を選択します。フィールドサマリー
クラス org.springframework.context.annotation.AdviceModeImportSelector から継承されたフィールド
DEFAULT_ADVICE_MODE_ATTRIBUTE_NAME
コンストラクターのサマリー
メソッドのサマリー
修飾子と型メソッド説明protected StringSE[]
selectImports
(AdviceMode adviceMode) EnableTransactionManagement.mode()
のPROXY
およびASPECTJ
値に対して、それぞれProxyTransactionManagementConfiguration
またはAspectJ(Jta)TransactionManagementConfiguration
を返します。クラス org.springframework.context.annotation.AdviceModeImportSelector から継承されたメソッド
getAdviceModeAttributeName, selectImports
クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
インターフェース org.springframework.context.annotation.ImportSelector から継承されたメソッド
getExclusionFilter
コンストラクターの詳細
TransactionManagementConfigurationSelector
public TransactionManagementConfigurationSelector()
メソッドの詳細
selectImports
EnableTransactionManagement.mode()
のPROXY
およびASPECTJ
値に対して、それぞれProxyTransactionManagementConfiguration
またはAspectJ(Jta)TransactionManagementConfiguration
を返します。- 次で指定:
- クラス
AdviceModeImportSelector<EnableTransactionManagement>
のselectImports
- パラメーター:
adviceMode
- ジェネリクスを介して指定されたアノテーションのアドバイスモード属性の値。- 戻り値:
- インポートするクラスを含む配列 (存在しない場合は空の配列。指定された
AdviceMode
が不明な場合はnull
)