ページの先頭行へ戻る
Interstage Application Server リファレンスマニュアル(API編)
Interstage

3.23.8 org.omg.CosTransactions.Current.get_control

名前

org.omg.CosTransactions.Current.get_control

形式

public interface Current extends org.omg.CORBA.Object {
public CosTransactions.Control.get_control()
      throws   org.omg.CORBA.Exception;
}

機能説明

トランザクションコンテキストを管理するControlオブジェクトを返します。
このControlオブジェクトを使用してサーバアプリケーションでトランザクションを完了することもできます。
Currentインタフェースのオブジェクトリファレンスはorg.omg.CORBA.ORB.resolve_initial_referencesメソッド(org.omg.CORBA.ORB.ObjectId_TransactionCurrent)で取得します。

復帰値

正常終了した場合は、 org.omg.CosTransactions.Controlが通知されます。

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

SystemExceptionの場合は以下の例外が発生します。

org.omg.CORBA.NO_RESOURCES

資源不足が発生しました。

org.omg.CORBA.NO_MEMORY:

動的メモリの獲得に失敗しました。

org.omg.CORBA.INTERNAL:

CORBAサービスで異常が発生しました。