Glen Ezkovich wrote:


On Jul 17, 2004, at 10:17 AM, Glen Ezkovich wrote:


On Jul 17, 2004, at 3:30 AM, defe wrote:

Glen Ezkovich wrote:

I have a component that I would like to be a singleton. What do I need
to do to insure that it is recognized as such?



implement the marker interface org.apache.avalon.framework.thread.ThreadSafe


How do I declare it in cocoon.xconf?

To be more precise do I declare it as a component or a component-instance? I'm a little unclear concerning the difference.

what kind of component is it? A sitemap component (action, generator, transformer, etc) or something else ?
If it's a sitemap component, then you don't need to declare it cocoon.xconf, otherwise i would say... it depends :)


regards





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to