Re: Getting the iid of a component for activation?



On 1 Dec 2000, Martin Baulig wrote:

> You seem to misunderstand what OAF is aimed for; if I remember correctly, one
> reason for the gnorba->OAF migration was the fact that OAF supports queries
> so that you do not have to hardcode anything (btw. if I remember correctly,
> the other big reason was that OAF supports UUIDs so that we won't get any
> namespace clashes ;-))

You can use any string you want for a GOAD ID (including UUIDs), and
almost any string you want for an OAF IID (the constraint being the
"OAFIID:" prefix and not using the [], characters).

> With OAF, you query for the _capability_ or a component and _not_ for its name.
>
> So IMHO the correct thing to add an attribute to gnomine's oafinfo file and then
> to do an oaf_query() for this attribute.

<rant>Or do oaf_activate(), not oaf_query().</rant>

-- Elliot
"The Pythagorean Theorem employed 24 words, the Lord's Prayer has 66 words,
Archimedes Principle has 67 words, the 10 Commandments have 179 words, the
Gettysburg Address had 286 words, the Declaration of Independence, 1,300 words and
finally the European Commission's regulation on the sale of cabbage: 26,911 words."







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]