[omniORB] omniINSPOA + MAIN_THREAD_MODEL?

Duncan Grisby duncan at grisby.org
Mon Apr 4 18:20:47 BST 2005


On Tuesday 29 March, Stephen Hansen wrote:

> Hey.. I'm embedding omniORB into an existing application and to keep
> it all from exploding I haev to use the MAIN_THREAD_MODEL. I'd also
> like this app's object to be exposed via omniINSPOA. Can I combine
> these two? I attempted to  create a "child" off the omniINSPOA with
> the MAIN_THREAD_MODEL policy but that does not appear to be working.

No, you can't. The omniINSPOA is intended purely for initial
bootstrapping. You should use it to implement an object that returns
references to the objects you really want to use. Those objects can be
in any POA you want.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list