On Sun, 1 Sep 2002 23:10, Leo Sutic wrote:
> Agreed - but I think Peter is using the role here as a shorthand for
> the interface name. In the example given, if my code requires a
> org.apache.avalon.ConnManager, I can declare that I require a
> "org.apache.avalon.ConnManager", or I can use the short form
> "conn-manager".

Sorta ;) 

"conn-manager" would be key used in Component implementation to lookup role.
"org.apache.avalon.ConnManager" is the "implementationKey" of the Role 
(usually the classname of the interface). The Role may be further defined in 
a file /org/apache/avalon/ConnManager-service.xml which would declare all 
required metadata for role (if any). 

Confusing terminology eh? ;)

-- 
Cheers,

Peter Donald
------------------------------------------------
| We shall not cease from exploration, and the |
|  end of all our exploring will be to arrive  |
|  where we started and know the place for the |
|            first time -- T.S. Eliot          |
------------------------------------------------


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

Reply via email to