名前
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の場合は以下の例外が発生します。
資源不足が発生しました。
動的メモリの獲得に失敗しました。
CORBAサービスで異常が発生しました。