service
XMS Data Source Service — XMS Data Source Service<service class="xms.dataservices.XMSDataSourceService"> child tags </service>
![]() | Note |
|---|---|
| There are no attributes for this tag | |
This tag depends on the following services (or a service that extends or implements these classes)
<datasource … > child tags </datasource>
Table 82. Attributes for datasource tag (for xms.dataservices.XMSDataSourceService)
| Name | Description | Type | Default Value | Required |
|---|---|---|---|---|
| coreConnections | The number of connections to keep open to the database | String any character combination | 0 | no |
| jdbcDriver | Class name of JDBC Driver | String any character combination | none | yes |
| jdbcURL | Jdbc UR L | String any character combination | none | yes |
| name | Name | String any character combination | none | yes |
| password | Password | String any character combination | none | yes |
| username | Username | String any character combination | none | yes |
<datasourceset … > child tags </datasourceset>
Table 84. Attributes for datasourceset tag (for xms.dataservices.XMSDataSourceService)
| Name | Description | Type | Default Value | Required |
|---|---|---|---|---|
| updateInterval | The interval in ms to poll the provider for updates | int positive integer | 0 (Cache is never updated) | no |
<datasource … > child tags </datasource>
Table 85. Attributes for datasource tag (for xms.dataservices.XMSDataSourceService)
| Name | Description | Type | Default Value | Required |
|---|---|---|---|---|
| coreConnections | The number of connections to keep open to the database | String any character combination | 0 | no |
| jdbcDriver | Class name of JDBC Driver | String any character combination | none | yes |
| jdbcURL | Jdbc UR L | String any character combination | none | yes |
| name | Name | String any character combination | none | yes |
| password | Password | String any character combination | none | yes |
| username | Username | String any character combination | none | yes |
Example 76. Example configuration for XMS Data Source Service
Required attributes are marked with a bold typeface
<service class="xms.dataservices.XMSDataSourceService">
<datasource coreConnections="coreConnections"
jdbcDriver="jdbcDriver"
jdbcURL="jdbcURL"
name="name"
password="password"
username="username">
<sql>
value
</sql>
</datasource>
<datasourceset updateInterval="updateInterval">
<provider class="class" … />
<datasource coreConnections="coreConnections"
jdbcDriver="jdbcDriver"
jdbcURL="jdbcURL"
name="name"
password="password"
username="username">
<sql>
value
</sql>
</datasource>
</datasourceset>
</service>