Service-Instance Descriptor Element
A service-instance element creates an instance of a service-template element in an IceBox server. It may supply additional information such as configuration properties.
This element may only appear as a child of an icebox element.
The following attributes are supported:
| Attribute | Description | Required |
|---|---|---|
template | Identifies the service template. | Yes |
All other attributes of the element must correspond to parameters declared by the template. The service-instance element must provide a value for each parameter that does not have a default value supplied by the template.
Here is an example to demonstrate the use of this element:
XML
<icebox id="IceBoxServer" ...> <service-instance template="ServiceTemplate" name="Service1"> <properties> <property name="Debug" value="1"/> </properties> </service-instance></icebox>