[Webware-devel] Start up handler? Was: Application.addShutDownHandler

2002-01-26 Thread Edmund Lian
Geoff wrote: >>Application maintains a list of shutdown handlers, so if you call addShutDownHandler multiple times each of the functions will get called, in the order that you called addShutDownHandler.<< Come to think of it, it might actually be useful to have the counterpart of this (start up

Re: [Webware-devel] cvs update: Application.addShutDownHandler

2002-01-26 Thread Edmund Lian
Geoff wrote: >>Application maintains a list of shutdown handlers, so if you call addShutDownHandler multiple times each of the functions will get called, in the order that you called addShutDownHandler.<< It might be useful to have one or more additional methods to list functions in order of e

[Webware-devel] cvs update: Application.addShutDownHandler

2002-01-26 Thread Geoffrey Talvola
I added a new method Application.addShutDownHandler(func). Pass in a function (or other callable object) and that function will be called when the application is shut down. This is useful for cleanup tasks that need to happen when the appserver is shut down (for example, closing database con