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 
connections).

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.

- Geoff

_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to