Called when the servlet in unloaded to clean up any open resources. |
Although the server normally waits until all service calls are terminated to invoke destroy, it may not be possible, and your destroy method should make sure that resources are not being used. |