--- Berin Loritsch <[EMAIL PROTECTED]> wrote:
> Farr, Aaron wrote:
> 
> > So isn't the 'role' attribute you mentioned really just the 'key'
> attribute?
> 
> Yep.
> 

But we would still like to add the new uses you mentioned, correct?  I like the
key="*".  Would that fulfill cocoon's needs?

> Remember it can be declared in an interface's class comments or the component
> implementation's version.  For example:
> 
> /**
>   * @avalon.component name="jdbc" lifestyle="singleton"
>   * @avalon.service type="DataSource"
>   */
> public class JdbcDataSource implements javax.sql.DataSource {}
> 
> That allows you to export a service from an interface you can't control.

cool.

jaaron

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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

Reply via email to