Interstage Application Server リファレンスマニュアル(API編) |
目次
索引
![]() ![]() |
第3章 Javaインタフェース | > 3.23 Currentクラス |
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サービスで異常が発生しました。
目次
索引
![]() ![]() |