Adapter Development Kit 6.5 | webMethods Adapter Development Kit Documentation | webMethods Adapter Development Kit Installation and User’s Documentation | Connections | Creating a WmManagedConnectionFactory Implementation Class | The WmDescriptor Interface
 
The WmDescriptor Interface
The WmDescriptor interface controls how metadata parameters are handled at design time, during data entry.
To create webMethods metadata for your connection factory, you use the WmDescriptor interface within the WmManagedConnectionFactory.fillWmDescriptor method. Following are some commonly used WmDescriptor methods. For examples, see Example WmManagedConnectionFactory Implementation Class.
Use this method ...
To ...
createGroup
Specify the order in which parameters should appear on the adapter's administrative interface. Group names are not displayed.
setDescriptions
Set display names and online help links for the current connection type. This call queries your resource bundle for information about the connections, its parameters, and its groups. The ResourceBundleManager argument must be identical to WmAdapter.getResourceBundleManager.
setDisplayName
Assign a more user friendly parameter name. Alternatively, use setDescriptions to use a localized display name.
setMinStringLength
setMaxStringLength
setRequired
Control adapter user input.
setPassword
Display asterisks when adapter users enter passwords. This method also displays a confirmation field in which users must re-enter passwords. Only one copy of the parameter value will be set in the connection factory. Do not use setPassword on more than one parameter per WmDescriptor.
setValidValues
Create a drop-down list of values for a parameter.
Most WmDescriptor methods apply to a specified metadata parameter. In these cases, the name of the parameter must be passed as a String.