Registry
The <registry> element defines any entries to be added or modified in the registry.
The following is an example of a <registry>element:
<registry>
<entry path="/runtime/transformers" type="subcontext"/>
</registry>
The <registry>element can contain one or more <entry>elements, each of which defines one of the following:
· Registry Entry: A key-value pair. The entry is placed in the path specified by the registry subcontext specified by the path attribute. The key is the final part of the path attribute and the value is specified by the name attribute.
For example, the following creates the key myTransformerwith the value TransformerProvider in the subcontext runtime/transformers:
<entry path="runtime/transformers/myTransformer"
name="TransformersProvider" type="service"/>
Any other values specified in the entry are attributes of the registry entry. In the example above, typeis an attribute of the TransformersProviderentry with the value service.
· Registry Subcontext: A new subcontext to be created in the existing registry subcontext specified by the path attribute. The typeattribute must be subcontext.
The following creates the subcontext transformersin the runtime registry subcontext:
<entry path="/runtime/transformers" type="subcontext"/>