Name

service

XMS Data Source Service — XMS Data Source Service

<service class="xms.dataservices.XMSDataSourceService"> child tags </service>

[Note]Note
There are no attributes for this tag

Service Dependencies

This tag depends on the following services (or a service that extends or implements these classes)

Child Tags

Data Source Template

<datasource > child tags </datasource>

Table 82. Attributes for datasource tag (for xms.dataservices.XMSDataSourceService)

NameDescriptionTypeDefault ValueRequired
coreConnectionsThe number of connections to keep open to the databaseString any character combination0no
jdbcDriverClass name of JDBC DriverString any character combinationnoneyes
jdbcURLJdbc UR LString any character combinationnoneyes
nameNameString any character combinationnoneyes
passwordPasswordString any character combinationnoneyes
usernameUsernameString any character combinationnoneyes
Child Tags
SQL Template

<sql>value</sql>

Table 83. Attributes for sql tag (for xms.dataservices.XMSDataSourceService)

NameDescriptionTypeDefault ValueRequired
valueValueString any character combinationnoneno

Data Source Set

<datasourceset > child tags </datasourceset>

Table 84. Attributes for datasourceset tag (for xms.dataservices.XMSDataSourceService)

NameDescriptionTypeDefault ValueRequired
updateIntervalThe interval in ms to poll the provider for updatesint positive integer0 (Cache is never updated)no
Child Tags
Data Source Template

<datasource > child tags </datasource>

Table 85. Attributes for datasource tag (for xms.dataservices.XMSDataSourceService)

NameDescriptionTypeDefault ValueRequired
coreConnectionsThe number of connections to keep open to the databaseString any character combination0no
jdbcDriverClass name of JDBC DriverString any character combinationnoneyes
jdbcURLJdbc UR LString any character combinationnoneyes
nameNameString any character combinationnoneyes
passwordPasswordString any character combinationnoneyes
usernameUsernameString any character combinationnoneyes
Child Tags
SQL Template

<sql>value</sql>

Table 86. Attributes for sql tag (for xms.dataservices.XMSDataSourceService)

NameDescriptionTypeDefault ValueRequired
valueValueString any character combinationnoneno

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>