Service Point hivemind.lib.AdapterRegistryFactory | Interface: | org.apache.hivemind.ServiceImplementationFactory |
---|
Creates a service as a wrapper around an AdapterRegistry. The first parameter to
each method of the service interface is used to select an adapter, and then
the method implementation delegates to that adapter. |
Parameters occurs: | 1 |
---|
Parameters Schema |
---|
Element <construct> |
---|
Attribute configuration-id (required) | Translator: | configuration |
---|
A configuration utilizing the hivemind.lib.AdapterRegistry schema, which
defines the classes and matching adapters. | Conversion Rules |
---|
<conversion
class=" org.apache.hivemind.lib.adapter.AdapterRegistryParameter"
>
- <map
attribute="configuration-id"
property="contributions"
/>
</conversion> |
|
Implementation |
---|
- <invoke-factory service-id="hivemind.BuilderFactory" model="singleton" >
- <construct
class="org.apache.hivemind.lib.adapter.AdapterRegistryFactory"
>
- <set-service
property="classFactory"
service-id="hivemind.ClassFactory"
/>
</construct>
</invoke-factory>
|