Adapter Development Kit 6.5 | webMethods Adapter Development Kit Documentation | webMethods Adapter Development Kit Installation and User’s Documentation | Connections | Connection Class Interactions | Retrieving Connection Metadata
 
Retrieving Connection Metadata
When an adapter user creates or edits a connection node, the server interrogates the connection factory implementation to retrieve metadata as follows:
1. Gets the adapter name, version, and JCA version (steps 1-3 in the following figure).
2. Instantiates the connection factory if it is not already cached, and introspects the connection factory for metadata parameters (step 4). The server retrieves the "set" accessor methods described in webMethods Metadata Parameters.
3. Calls the "get" method for each metadata parameter (if present) and retrieves any default values that may be provided for those parameters (steps 5-6). (While "get" methods may have other uses in the implementation, this is their only use from the ADK's perspective.)
4. Calls the fillWmDescriptor method of the connection factory (step 7), which can specify the order in which parameters should appear on the adapter's administrative interface, set display names and online help links, and constrain adapter user input, as described in The WmDescriptor Interface.
Retrieving connection metadata