Borland(R) Enterprise Server VisiBroker(R) デベロッパーズガイド
オブジェクトリファレンスのタイプを一般的なスーパータイプから特定のサブタイプに変更するプロセスをナロウイングといいます。
Borland Enterprise Server VisiBrokerでは,オブジェクトのnarrow()メソッドを使用してナロウイングができるように,それぞれのオブジェクトインタフェースのタイプグラフを保持しています。
Bank::AccountManager_ptr
Bank::AccountManager::_narrow(CORBA::Object * _obj) {
:
}
public abstract class AccountManagerHelper {
. . .
public static Bank.AccountManager narrow (
org.omg.CORBA.Object object){
. . .
}
. . .
}
All Rights Reserved. Copyright (C) 2012, 2015, Hitachi, Ltd.
COPYRIGHT (C) 1992-2004 Borland Software Corporation. All rights reserved.