Adapter Descriptor Element
An adapter
element defines an indirect object adapter.
This element may only appear as a child of a server or service element.
The following attributes are supported:
Attribute | Description | Required |
---|---|---|
| Specifies one or more endpoints for this object adapter. These endpoints typically do not specify a port. This attribute is translated into a definition of the adapter's Endpoints configuration property | No |
| Specifies an object adapter identifier. The identifier must be unique among all adapters and replica groups in the registry. This attribute is translated into a definition of the adapter's AdapterId configuration property. If not defined, a default value is constructed from the adapter name and server ID (and service name for an IceBox service). | Yes |
| The name of the object adapter as used in the server that creates it. | Yes |
| Specifies the priority of the object adapter as an integer value. The object adapter priority is used by the | No |
| The proxy options to use when generating the adapter well-known or allocatable object proxies. This attribute is also translated into a definition of the adapter's ProxyOptions configuration property. | No |
| Specifies a replica group identifier. A non-empty value signals that this object adapter is a member of the indicated replica group. This attribute is translated into a definition of the adapter's RepliaGroupId configuration property. If not defined, the default value is an empty string. | No |
| A value of | No |
An optional nested description element provides free-form descriptive text.
Here is an example to demonstrate the use of this element.
<adapter name="MyAdapter"
endpoints="default"
id="MyAdapterId"
proxy-options="-t -e 1.0"
replica-group="MyReplicaGroup">
<description>A description of the adapter.</description>
...
</adapter>