Adapter Development Kit 6.5 | webMethods Adapter Development Kit Documentation | webMethods Adapter Development Kit Installation and User’s Documentation | Connections | Updating the Resource Bundle
 
Updating the Resource Bundle
Notice in Example WmManagedConnectionFactory Implementation Class that the call to WmDescriptor.setDescriptions in the fillWmDescriptor implementation causes the server to look for display names and other display data in the adapter's resource bundle. (For more information about resource bundles, see Creating Resource Bundles.)
To provide this information, the resource bundle is updated with entries for the Simple Connection implementation and its parameters as follows:
,{SimpleConnectionFactory.class.getName()
+ ADKGLOBAL.RESOURCEBUNDLEKEY_DISPLAYNAME,
"Simple Connection"}
,{SimpleConnectionFactory.class.getName()
+ ADKGLOBAL.RESOURCEBUNDLEKEY_DESCRIPTION,
"Simple framework for demonstration purposes"}
,{SimpleConnectionFactory.class.getName()
+ ADKGLOBAL.RESOURCEBUNDLEKEY_HELPURL,
"MyAdapter/SimpleConnectionHelp.txt"}
,{SimpleConnectionFactory.CONFIG_PARM1_PARAMETER
+ ADKGLOBAL.RESOURCEBUNDLEKEY_DISPLAYNAME,
"String Setting"}
,{SimpleConnectionFactory.CONFIG_PARM2_PARAMETER
+ ADKGLOBAL.RESOURCEBUNDLEKEY_DISPLAYNAME,
"Integer Setting"}