クラス TransactionAwareDirContextInvocationHandler
java.lang.ObjectSE
org.springframework.ldap.transaction.compensating.manager.TransactionAwareDirContextInvocationHandler
- 実装済みのインターフェース一覧:
InvocationHandlerSE
public class TransactionAwareDirContextInvocationHandler
extends ObjectSE
implements InvocationHandlerSE
DirContext のプロキシ実装。トランザクション中にインスタンスが閉じられていないこと、およびすべての変更操作が記録され、それらの補正ロールバック操作が保存されていることを確認します。
- 導入:
- 1.2
コンストラクター概要
コンストラクターコンストラクター説明TransactionAwareDirContextInvocationHandler(DirContextSE target, ContextSource contextSource) コンストラクター。方法の概要
コンストラクターの詳細
TransactionAwareDirContextInvocationHandler
public TransactionAwareDirContextInvocationHandler(DirContextSE target, ContextSource contextSource) コンストラクター。- パラメーター:
target- 目的の DirContext。contextSource- トランザクション ContextSource は、現在のトランザクションのDirContextHolderを取得するために必要です。
方法の詳細
invoke
public @Nullable ObjectSE invoke(ObjectSE proxy, MethodSE method, ObjectSE[] args) throws ThrowableSE - 次で指定:
- インターフェース
InvocationHandlerSE内のinvokeSE - 例外:
ThrowableSE