クラス 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)