Adapter Development Kit 9.12 | webMethods Adapter Development Kit Documentation | webMethods Adapter Development Kit Installation and User’s Documentation | Using the Sample Adapter | Phase 4: Adding Polling Notifications | Revising Code From Phases 1, 2, and 3
 
Revising 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 registers all the resource domains declared by the MessagePolling class.
In the adapterResourceDomainLookup method, the adapter code includes resource domain lookup code to request the polling metadata from Sample Server repository.