Adapter Development Kit 6.5 | webMethods Adapter Development Kit Documentation | webMethods Adapter Development Kit Installation and User’s Documentation | The Adapter Definition | Deploying the Adapter | The Adapter Unload Process
 
The 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 following diagram shows how MyAdapter unloads the adapter from Integration Server at run time.
The adapter unload process
To unload an adapter, the server calls MyAdapterAdmin.unregisterAdapter. This method is the designated package shutdown service; see Creating Adapter Startup and Shutdown Services. This method:
1. Retrieves the adapter instance.
2. Calls the adapter's cleanup method (if implemented).
3. Calls AdapterAdmin.unregisterAdapter.