avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Berin Loritsch" <blorit...@apache.org>
Subject RE: [proposal] avalon 5 ComponentManager interface
Date Wed, 12 Jun 2002 12:52:46 GMT
> From: Peter Royal [mailto:proyal@apache.org] 
> 
> On Tuesday 11 June 2002 08:33 pm, Peter Donald wrote:
> > Even if you no go the path of the GeneratorManager, Would it not be 
> > wiser to generate an object per-path through pipeline. 
> Something along 
> > the lines of
> >
> > class PipelinePath53
> > {
> >   private static final String GEN_FILE = Generator.ROLE + "/file";
> >   private static final String TRAN_XSLT = Transformer.ROLE 
> + "/xslt";
> 
> Except that the sitemap (where the pipelines are defined) is 
> no longer 
> converted to java code, its interpreted.

Right.


> But I do agree with you, there is no specific need for a 
> ComponentSelector, 
> nor have I seen an example that *requires* a hint, they can 
> all be refactored 
> into a single lookup key.
> -pete

It just makes it easier to distinguish between ROLE/extension
if they are passed in separately.  You don't have to do any
string manipulation either to create the lookup key or to validate
the role name.


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


Mime
View raw message