Configuring customized service provider |
The custom service provider type can be configured in the system configuration file (iserver-system.xml). The example below shows how to add a custom service provider.
<provider-type alias="SuperMap customized service provider" configClass="com.supermap.services.providers.SMProviderSetting">
com.supermap.services.providers.SMProvider
</provider-type>
The com.supermap.services.providers.SMProvider is the implementation class of the custom service provider type, and the com.supermap.services.providers.SMProviderSetting is the configuration class of the custom service provider type.
The structure of the <provider-type> node in the configuration file is shown as follows:
<server>
<management>
...
<provider-types>
...
<provider-type>
...
</provider-type>
</provider-types>
</management>
</server>