Interstage Application Server リファレンスマニュアル(API編)
目次 索引 前ページ次ページ

第3章 Javaインタフェース> 3.23 Currentクラス

3.23.10 org.omg.CosTransactions.Current.resume

名前

 org.omg.CosTransactions.Current.resume

形式

 public interface Current extends org.omg.CORBA.Object {
 public void resume(org.omg.CosTransactions.Cntrol control)
  throws org.omg.CORBA.Exception;
 }

機能説明

 トランザクションをカレントスレッドと関連つけます。

パラメタ

 control
 関連付けるControlオブジェクトを指定します。Controlオブジェクトのオブジェクトリファレンスは、org.omg.CosTransactions.Current.get_controlメソッドで取得します。または、suspend機能で返却されたControlオブジェクトを使用します。
 nullオブジェクトを指定した場合、トランザクションとカレントスレッドとの関係を切り離します。

復帰値

 処理が異常終了した場合は、org.omg.CORBA.Exception例外が発生します。

 UserException例外の場合は以下の例外が発生します。
 org.omg.CosTransactions.InvalidControl:
  Controlオブジェクト以外のオブジェクトが指定されました。
 SystemExceptionの場合は以下の例外が発生します。

 org.omg.CORBA.INTERNAL:
  CORBAサービスで異常が発生しました。


目次 索引 前ページ次ページ

All Rights Reserved, Copyright(C) 富士通株式会社 2005