Adapter Development Kit 9.12 | webMethods Adapter Development Kit Documentation | webMethods Adapter Development Kit Installation and User’s Documentation | Polling Notifications | Polling Notification Callbacks
 
Polling Notification Callbacks
The base class WmPollingNotification defines a set of callback methods that you can override in the notification implementation class. The following table describes when these methods are called, and the impact of an exception thrown from the method. For complete details, see the Javadoc for the WmPollingNotification class.
User Actions
Callbacks Received
Notification node is deleted or renamed.
deleteCallBack
Notification node is disabled.
disableCallBack
Disabled notification node is enabled.
enableCallBack
Notification node is created, the package is enabled.
initCallBack
Suspended notification node is enabled.
resumeCallBack
Notification node is disabled or suspended, the Integration Server is shutdown, the package is disabled.
shutdownCallBack
Notification node is enabled or resumed, the Integration Server starts.
startupCallBack
Enabled notification node is suspended.
suspendCallBack
Notification node is modified, but not called when notification node is created.
updateCallBack
Note:
In all cases, an AdapterException will cause the associated connection to be destroyed and removed from the pool.