shutdown

The shutdown method is called once when the runtime server shuts down. If there are any clean up tasks required by your call out, they should run at this time.

shutdown(configData)

The shutdown method requires the following parameter:

  • configData-a map with key-value pairs of configuration data required by the callout.

If the shutdown method fails for any reason, it returns CalloutException.

Return value

None.

Example

public void shutdown(Map<String, String> configurationData) throws CalloutException
{
    // shutdown scoreQueryUtility here
}