cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Max Pfingsthorn" <m.pfingsth...@hippo.nl>
Subject RE: [RT] Simplifying component handling
Date Mon, 02 Jan 2006 11:35:27 GMT

...
> > What's the contract for the auto-wiring? Just assuming 
> ClassA and ClassB 
> > have public static fields called ROLE? Sounds somewhat "strange".
> > 
> No, the contract would be to search for a component which is 
> registered
> using the ClassA as the role name. Actually ClassA and ClassB are two
> interfaces.

Hmm, so what do you do about the hints? Often enough, I see "o.a.c.something.SomeInterface/hint"
(like "o.a.c.caching.Cache/EventAware") in cocoon. This wouldn't work with your assumptions
of always using FQCNs as service names.

max

Mime
View raw message