PTC Arbortext Publishing Engine Programmer's Guide (PTC Arbortext Publishing Engine 程式設計師指南) > The Arbortext Publishing Engine Sub-Process > Writing Arbortext PE 應用程式s in Java > Creating a Java Arbortext PE 應用程式 > The destroy Method
  
The destroy Method
The destroy method is called by the Arbortext PE 子流程 before it terminates, allowing the Arbortext PE 應用程式 to remove files and free resources. No calls to doGet or doPost will be made after the Arbortext PE 子流程 calls destroy.