Borland(R) Enterprise Server VisiBroker(R) デベロッパーズガイド
コードサンプル7-1および7-2に,サーバアプリケーションがどのようにrootPOAを取得できるかを示します。
// Initialize the ORB. CORBA::Object_var obj = orb->resolve_initial_references("RootPOA"); // get a reference to the rootPOA PortableServer::POA_var rootPOA = PortableServer::POA::_narrow(obj);
// Initialize the ORB. org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init(args, null); // get a reference to the rootPOA org.omg.PortableServer.POA rootPOA = POAHelper.narrow( orb.resolve_initial_references("RootPOA"));
All Rights Reserved. Copyright (C) 2008, Hitachi, Ltd.
COPYRIGHT (C) 1992-2004 Borland Software Corporation. All rights reserved.