Adapter Development Kit 9.12 | webMethods Adapter Development Kit Documentation | webMethods Adapter Development Kit Installation and User’s Documentation | The Adapter Definition | Deploying the adapter | Adapter Unload Process
 
Adapter Unload Process
During server shutdown or package reload, the system disables the adapter's dependant nodes (or their packages) before it disables the adapter. When you explicitly disable an adapter's package using Integration Server Administrator, disable its dependant nodes first. The diagram shows how MyAdapter unloads the adapter from Integration Server at run time.
To unload an adapter, the server calls AdapterAdmin.unregisterAdapter. This method is the designated package shutdown service. This method performs the following tasks:
1. Retrieves the adapter instance.
2. Calls the adapter's cleanup method (if implemented).
3. Calls AdapterAdmin.unregisterAdapter.