[omniORB] Finding methods in objects
Duncan Grisby
dgrisby@uk.research.att.com
Mon, 29 Nov 1999 15:26:38 +0000
On Monday 29 November, Stefan Seefeld wrote:
> Hmm, this is probably more a design problem but wouldn't a trader
> solve the problem too ? You'd then not query for a method name but
> for a whole interface.
Yes, a trader would be possible as well.
> However, the idea of querying for a method,
> not an interface makes me a bit nervous. What does it mean if a
> given interface says 'yes, I have a method 'foo'' ? There is no
> guarantee that it does what you think it should do. If you query for
> a given interface you don't take the individual methods out of their
> context.
This is a large part of the reason that omniORB doesn't have an
interface repository. The majority of non-browsing uses of an IfR have
to constrain the situation so much that it would be far easier to do
the same thing with a specific-purpose interface.
Cheers,
Duncan.
--
-- Duncan Grisby \ Research Engineer --
-- AT&T Laboratories Cambridge --
-- http://www.uk.research.att.com/~dpg1 --