You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Berin Loritsch <bl...@apache.org> on 2001/12/28 04:19:33 UTC
LifeStyle Interface reminder
In my search for reasons why the XSP system no longer consistently
determines the correct order of logicsheets, I discovered that
some Components (namely XSPMarkupLanguage and SitemapMarkupLanguage)
do not implement any of the LifeStyle interfaces. The LifeStyle
interfaces are:
org.apache.avalon.framework.thread.ThreadSafe
org.apache.avalon.framework.thread.SingleThreaded
org.apache.avalon.excalibur.pool.Poolabe;
These three determine precisely how the Components are used in the
system.
ThreadSafe = singleton
SingleThreaded = factory
Poolable = pooled (unique to each request)
If no lifestyle is specified the system has to make the safest
assumption: SingleThreaded. Try to avoid this at all costs as
it wastes resources unnecessarily.
----------------------------------------------------
Sign Up for NetZero Platinum Today
Only $9.95 per month!
http://my.netzero.net/s/signup?r=platinum&refcd=PT97
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org