Sous-processus Arbortext PE Deallocation
Once it has been allocated to a dynamic component, an Sous-processus Arbortext PE can only be used by the code that allocated it. To release the Sous-processus Arbortext PE, the component that called the allocate method must subsequently call the com.arbortext.e3.E3Subprocess.deallocate method. To ensure the Sous-processus Arbortext PE is released, placing thedeallocate call inside the finally block, which releases it regardless of any exceptions that might be thrown in the try block.
Deallocation is not optional. If a dynamic component fails to deallocate an Sous-processus Arbortext PE, the Sous-processus Arbortext PE will never become usable for other purposes.
Est-ce que cela a été utile ?