org.seasar.doma.jdbc
クラス NullRequiresNewController
java.lang.Object
org.seasar.doma.jdbc.NullRequiresNewController
- すべての実装されたインタフェース:
- RequiresNewController
public class NullRequiresNewController
- extends Object
- implements RequiresNewController
REQUIRES_NEW のトランザクション属性について何ら制御を行わない
RequiresNewControllerの実装です。
通常は、このクラスを使用せず、環境にあわせた実装を作成し使用してください。
- 作成者:
- taedium
| クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullRequiresNewController
public NullRequiresNewController()
requiresNew
public <R> R requiresNew(RequiresNewController.Callback<R> callback)
throws Throwable
- インタフェース
RequiresNewController の記述:
- REQUIRES_NEW の属性をもつトランザクションを実行します。
- 定義:
- インタフェース
RequiresNewController 内の requiresNew
- 型パラメータ:
R - 戻り値の型- パラメータ:
callback - REQUIRES_NEW のトランザクション属性下で扱いたい処理
- 戻り値:
- 任意の値
- 例外:
DomaNullPointerException - {@code callback} が null の場合
Throwable - {@code callback} の処理中に何らかの例外が発生した場合
Copyright © 2009-2014 The Seasar Foundation. All Rights Reserved.