There is a configuration point called "hivemind.Startup" where you can register Runnable objects to be run at HM registry startup time (which is the same as Tapestry startup time).
On 10/22/06, KEGan <[EMAIL PROTECTED]> wrote:
Hi, I need to do some tasks when my Servlet web application is initialized. In this, I can use ServletContextListener. Now, I am using Tapestry ... and I want to achieve the same thing. Of course, I can still use ServletContextListener, but with this, I cannot use all the TapestryAnnotation+Hivemind goodness (autowiring, etc) that comes with Tapestry. So is there a ServletContextListener equivalent in Tapestry? The idea is that I can run some tasks (only once) when Tapestry is first initialized, and I want to do this with all the Tapestry Annontation and Hivemind goodness. Thanks. ~KEGan