Publishing Engine Programmer's Guide > The Arbortext Publishing Engine Request Manager > Customizing the Arbortext PE Request Manager > Writing a Custom Cache Manager > Implementing a Cache Manager > The destroy Method
  
The destroy Method
The Arbortext PE Request Manager calls the destroy method after the servlet container has ordered the Arbortext Publishing Engine servlet to terminate. According to the Java servlet standard, the servlet container will pass no more requests to the servlet once the destroy method has been called. Use the destroy method to deallocate any resources that will not be cleaned up automatically by terminating the servlet.