cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Curdt <tcu...@dff.st>
Subject Re: AbstractAction Poolable?
Date Thu, 11 Apr 2002 15:33:23 GMT
> > Peter, could you elaborate a bit more... I haven't seen any need for a
> > poolable action yet. Just curious...
>
> The action doesn't *have* to be poolable, but it makes the code cleaner as I
> don't have to pass as many variables around as method parameters.
>
> My FormValidatorAction validates all request params into valid and invalid
> buckets, rather than passing those buckets as method params I they are just
> class-level variables that the methods can access as needed.
>
> It used to be ThreadSafe before actions could be Poolable, but when I was
> refactoring it, it was much cleaner to make it Poolable.

ok... that's what I thought ;-)
Thanks
--
Torsten


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message