cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Airey <nick.ai...@ihavemoved.com>
Subject Question on extending AbstractAction
Date Wed, 10 Apr 2002 15:15:09 GMT

Hello everyone, 

I have written some action classes, extending class
org.apache.cocoon.acting.AbstractAction and implementing the act()
method. They're working fine.


My questions refer to the Cocoon 2.0.2 release.


Question 1:

I can see from the generic sitemap.xmap that cocoon generators,
transformers and serializers can be pooled, with pooling parameters
being setup in the sitemap.xmap . Can action classes also be pooled?  If
so, do I have to do something special to make pooling work on my own
action classes?



Question 2:

Do my action classes have to be written thread safe, or does the
framework only allow one thread at a time to use each instance?


Thanks in advance,
Nick




---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message