> From: Peter Royal [mailto:[EMAIL PROTECTED]] 
> 
> 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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to