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

第2章 C++言語インタフェース> 2.12 POA関連インタフェース

2.12.13 インスタンス解放インタフェース

 インスタンス解放インタフェースを取り扱うPOAdisconnectクラスについて説明します。
この機能は、C++言語のPOAでCORBAサービスのインスタンス管理機能を利用し、かつそのPOAがActiveObjectMapを使用してインスタンス管理を行っている場合にのみ利用できます。

// C++
class PortableServer
{
public :
     class POA;
     typedef POA*  POA_ptr;

class POAdisconnect;
     typedef POAdisconnect*  POAdisconnect_ptr;
     class POAdisconnect
     {
         static void setDisconnect( POAdisconnect_ptr disconnect )
             throw( CORBA::Exception );
         static void resetDisconnect( POAdisconnect_ptr disconnect )
             throw( CORBA::Exception );
         static void resetDisconnect()
             throw( CORBA::Exception );
         CORBA::Boolean release_instance(
             POA_ptr      poa,
             Servant      servant,
             ObjectId&    oid );
     };
};

下へ2.12.13.1 PortableServer::POAdisconnect::setDisconnect()
下へ2.12.13.2 PortableServer::POAdisconnect::resetDisconnect()
下へ2.12.13.3 PortableServer::POAdisconnect::release_instance()

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

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