To add a new adapter, you must manually add it to the group of adapters in the instance_name.xml configuration file. To add a new adapter, do the following:
- Open the instance_name.xml configuration file.
Locate the HttpAdapters XML node and add XML syntax similar to the following to define your adapter:
<HttpAdapter enabled="true/false" deviceFormatType="--device format--" deviceFormatId="#" name="--name--" factoryClassname="-- class implementing HttpAdapterFactory --">
< --- free range format of XML to contain adapter configuration information -->
Note: The preceding example would be used to add a program adapter. To add a different type of adapter, modify the class implementation accordingly. In the example, HttpAdapterFactory is the class implementation.