org.seasar.extension.tx
クラス NotSupportedInterceptor

java.lang.Object
  拡張org.seasar.extension.tx.AbstractTxInterceptor
      拡張org.seasar.extension.tx.NotSupportedInterceptor
すべての実装インタフェース:
Advice, Interceptor, MethodInterceptor

public class NotSupportedInterceptor
extends AbstractTxInterceptor

トランザクションをサポートしないメソッドのためのインターセプタです。

このインターセプタが適用されたメソッドが呼び出された際にトランザクションが開始されている場合は、トランザクションが中断されます。 メソッドが終了 (例外をスローした場合も) した後、中断したトランザクションは再開されます。

作成者:
taichi S.

フィールドの概要
 
クラス org.seasar.extension.tx.AbstractTxInterceptor から継承したフィールド
transactionManagerAdapter, txRules
 
コンストラクタの概要
NotSupportedInterceptor()
          インスタンスを構築します。
 
メソッドの概要
 Object invoke(MethodInvocation invocation)
           
 
クラス org.seasar.extension.tx.AbstractTxInterceptor から継承したメソッド
addCommitRule, addRollbackRule, setTransactionControl
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

NotSupportedInterceptor

public NotSupportedInterceptor()
インスタンスを構築します。

メソッドの詳細

invoke

public Object invoke(MethodInvocation invocation)
              throws Throwable
例外:
Throwable


Copyright ? 2004-2007 The Seasar Foundation. All Rights Reserved.