Performs clean-up operations when the connector is shutting down.
Syntax
public int terminate();
Parameters
None.
Return values
An integer that indicates the status value of the terminate() operation.
Notes
The connector infrastructure calls the terminate() method when the connector is shutting down. In your implementation of this method, it is good practice to free all the memory and log off from the application.