Arbortext Publishing Engine Programmer's Guide (Guide de programmeur d'Arbortext Publishing Engine) > The Arbortext Publishing Engine Sub-Process > Writing Application Arbortext PEs in Java > Creating a Java Application Arbortext PE > The destroy Method
  
The destroy Method
The destroy method is called by the Sous-processus Arbortext PE before it terminates, allowing the Application Arbortext PE to remove files and free resources. No calls to doGet or doPost will be made after the Sous-processus Arbortext PE calls destroy.