Destroy method
A destroy
method can be defined to handle
shutdown requirements. This includes a clean up of any resources which the UPoC may have
allocated. For example, connections to external systems.
This method is called on shutdown of the system thread that created the UPoC. Depending on the behavior of the Garbage Collector in the JVM. This can be significantly earlier than any Java finish method is called.