David Legg wrote:

I've got some singleton Java classes that I'd rather configure and init at Cocoon init time instead of the first time a page is requested. Where's the best place to do this?

I've looked at the xconf file but I'm not sure if this is what I need.


Yes, this is the right place. Make sure your class implements the Avalon ThreadSafe interface and declare it in cocoon.xconf

Sylvain

--
Sylvain Wallez                        Anyware Technologies
http://people.apache.org/~sylvain     http://www.anyware-tech.com
Apache Software Foundation Member     Research & Technology Director


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

Reply via email to