cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorg Heymans ...@domek.be>
Subject Re: Singleton Cocoon Components
Date Mon, 26 Jul 2004 08:27:44 GMT
> Hi everybody,
> 
> I am facing a problem in cocoon and need some advice.
> In sitemap, there are 2 components  which I want to be singleton ( just 
> a single instance)..

Make your component implement the "Threadsafe" interface. Cocoon will 
reuse the same instance across all requests.



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


Mime
View raw message