Module hivemind.lib
Back to master index

[public] Service Point hivemind.lib.BeanFactoryBuilder Interface: org.apache.hivemind.ServiceImplementationFactory
A service which builds Object Factories. Factories are driven by a configuration that conforms to the hivemind.lib.BeanFactoryContribution schema.
Parameters occurs: 1
Parameters Schema
Element <factory>
Attribute configuration-id (required) Translator: configuration
The configuration containing the contributions that define what classes are actually vended. The configuration must use the hivemind.lib.BeanFactoryContribution schema.
Attribute default-cacheable Translator: boolean
The default value for cacheable for any contributions that are not more specific. The default value is true.
Attribute vend-class Translator: class
The class (or interface) vended by this factory. Contributions must be assignable to this type, or will be ignored. The default value is java.lang.Object.
Conversion Rules
<conversion class="org.apache.hivemind.lib.factory.BeanFactoryParameter" >
  • <map attribute="configuration-id" property="contributions" />
</conversion>
Implementation
  • <invoke-factory service-id="hivemind.BuilderFactory" model="singleton" >
    • <construct class="org.apache.hivemind.lib.factory.BeanFactoryBuilder" />
    </invoke-factory>

Module hivemind.lib
Back to master index