cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Hunsberger" <peter.hunsber...@gmail.com>
Subject Re: [Corona] PIpeline API
Date Tue, 15 Jul 2008 16:19:39 GMT
On Tue, Jul 15, 2008 at 5:42 AM, Reinhard Pötz <reinhard@apache.org> wrote:

> 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.
>

I hate seeing Maps used as dumping grounds for randomly typed objects.
Could you use something that gives a little more strong typing?
Perhaps more like a ServletContext though I don't think I'd go that
far in this case?

-- 
Peter Hunsberger

Mime
View raw message