2009/04/15 - Apache HiveMind has been retired.

For more information, please explore the Attic.

Module hivemind.lib
Back to master index

[public] Schema hivemind.lib.BeanFactoryContribution
Schema used with the hivemind.lib.BeanFactoryBuilder service, to define configuration that accepts definitions of classes that may be vended by the generated BeanFactory.
Element <bean>
Define one class of bean that may be vended. Beans must have either a public constructor that takes no arguments, or a public constructor that takes a single string argument (or both).
Attribute cacheable Translator: boolean
Defines whether instances of the bean may be cached; the default is specified by the factory.
Attribute class (required) Translator: class
The bean class that will be instantiated by the factory.
Attribute name (required) (unique) Translator: string
A unique name for the bean.
Conversion Rules
<conversion class="factory.BeanFactoryContribution" >
  • <map attribute="class" property="beanClass" />
</conversion>

Module hivemind.lib
Back to master index