Adapter Development Kit 9.12 | webMethods Adapter Development Kit Documentation | webMethods Adapter Development Kit Installation and User’s Documentation | Using the Sample Adapter | Phase 5: Adding Listener Notifications | Revising the Code from Phases 1, 2, 3, and 4
 
Revising the Code from Phases 1, 2, 3, and 4
In Phase 5, the existing classes from Phases 1 through 4 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 sample code registers all the resource domains declared by the AsyncListening template.
In the adapterResourceDomainLookup method, the sample code includes resource domain lookup code to request the listener notification metadata from the Sample Server repository.