[omniORB] Finding methods in objects

Duncan Grisby dgrisby@uk.research.att.com
Mon, 29 Nov 1999 14:23:03 +0000


On Monday 29 November, Casillas_Juan_M/madrid_tecnologia@sinvest.es wrote:

>       program A wants to know what interfaces have a method hello() (the=
> 
>       interfaces are running like programs, just like A but with other
> object
>       implementation)
>       =20
>          How A can ask for the query to the other programs,
>          if A doesn't know the other object implementations (A doesn't
>          have instantiations of them) ?

What you need is an interface repository, a service which permits you
to query the interfaces of objects. Unfortunately, omniORB doesn't
have one. You can, however, use the interface repository from another
ORB (MICO for example) with omniORB.

To find the objects themselves, you can either register them with the
naming service or come up with your own service.

>    Sorry about my bad english

Don't worry -- it's a lot better than my Spanish. :-)

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --