cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Ziegeler <cziege...@apache.org>
Subject Re: [Corona] PIpeline API
Date Tue, 15 Jul 2008 16:32:18 GMT
Reinhard Pötz wrote:
> Carsten Ziegeler wrote:
>> Reinhard Pötz wrote:
>>>
>>> currently corona-pipeline (pipeline API, pipeline impls, SAX 
>>> components) only has a dependency on commons-logging. Is this good 
>>> enough for your needs?
>> :) Ok, that should be fine.
>>
>> I've moved the action to the sitemap module and split up execute into 
>> setup and execute. I think we should specify in the contract that a 
>> modifiable map is passed to the components during setup. Any objections?
> 
> Currently sitemap components get passed to maps:
> 
>  1. the input parameters (a map of all objects that you want to pass
>     to a pipeline)
> 
>  2. the configuration parameters (to provide a way to pass parameters
>     from the sitemap to the component -> for API usage those parameters
>     are usually passed by constructor parameters or by setters).
> 
> Are you talking about passing the input parameters as parameters of the 
> setup() method?
> 
> void setup(Map<String, Object> inputParameters)
> 
> I'd be fine by this.
> 
Yes, this is what I did.

Carsten
-- 
Carsten Ziegeler
cziegeler@apache.org

Mime
View raw message