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

2002-01-27 Thread Geoffrey Talvola
On Sunday January 27, 2002 12:11 am, Edmund Lian wrote: > 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

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