Adapter Development Kit 6.5 | webMethods Adapter Development Kit Documentation | webMethods Adapter Development Kit Installation and User’s Documentation | Using the Sample Adapter | Phase 4: Adding Polling Notifications | Implementing the Polling Notification Template | Revised Code From Phases 1, 2, and 3
 
Revised Code From Phases 1, 2, and 3
In Phase 4, the existing classes from Phases 1, 2, and 3 are modified to include the following revisions. The classes contain comments that detail the changes.
Class
Revision
WmSampleAdapterConstants
Added string constants for the polling property names.
WmSampleAdapterResourceBundle
Added entries for the polling property configuration.
WmSampleConnection
In the registerResourceDomain method, the adapter code now registers all the resource domains declared by the MessagePolling class.
In the adapterResourceDomainLookup method, the adapter code now includes resource domain lookup code to request the polling metadata from Sample Server repository.