OMGが指定したポータブルインタセプタは,グローバルにスコープされます。Borland Enterprise Server VisiBrokerは,PortableInterceptorExtという新しいモジュールを追加することによってポータブルインタセプタのパブリック拡張機能である「POAスコープサーバリクエストインタセプタ」を定義しています。この新しいモジュールには,PortableInterceptor::IORInfoから継承され,POAスコープサーバリクエストインタセプタをインストールするための拡張メソッドを持つIORInfoExtというローカルインタフェースがあります。
#include "PortableInterceptorExt_c.hh"
class IORInfoExt:public PortableInterceptor::IORInfo
{
public:
virtual void add_server_request_interceptor(
ServerRequestInterceptor_ptr _interceptor)=0;
virtual char*full_poa_name();
};
package com.inprise.vbroker.PortableInterceptor;
public interface IORInfoExt extends
org.omg.CORBA.LocalInterface,
org.omg.PortableInterceptor.IORInfo,
com.inprise.vbroker.PortableInterceptor.IORInfoExtOperations,
org.omg.CORBA.portable.IDLEntity
{
public void add_server_request_interceptor
(ServerRequestInterceptor interceptor)
throws DuplicateName;
public java.lang.String[ ] full_poa_name();
}