avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leo Sutic" <leo.su...@inspireinfrastructure.com>
Subject RE: [proposal] AMTAGS (avalon meta tags)
Date Tue, 22 Apr 2003 09:41:54 GMT
It is my understanding that for Merlin and Phoenix, the value given to
the
ComponentManager/ServiceManager.lookup method is almost never equal to
the
name of the interface expected as a return value. Thus, the syntax below
is insufficient:

    @avalon.dependency
        type=(ROLE|value)
        [optional=(true|false)]

You need:

    @avalon.dependency
        type=(ROLE|value)
        [key=(value)]
        [optional=(true|false)]

with key defaulting to type.

Otherwise, you have no way of telling that component A wants to
look up a my.SocketManager via the key "socketA" and a my.SocketManager
via the key "socketB".

Unless objections, I'll enter these changes.

/LS

> From: news [mailto:news@main.gmane.org] On Behalf Of Leo Simons


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Mime
View raw message