Peter,

in the following:

<provides>
    <role>
      <key>conn-manager</key>
      <interface>org.apache.avalon.ConnManager</interface>
    </role>
</provides>

the key, "conn-manager", implies "org.apache.avalon.ConnManager", right?

So isn't the <interface/> element redundant?

I assume you will use the <key/> to define exactly what attributes may 
be set for the connection manager. That is, "conn-manager" implies:

 + A certain interface (org.apache.avalon.ConnManager)

 + A set of attribute keys (for example, it may declare "is-secure")

Is this a correct understanding of the <key/> element?

If it is, I really do not see the need for the <key/> element. It
should be the same as the <interface/> element.

/LS


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to