Back to index
Back to module hivemind.lib

Schema hivemind.lib.BeanFactoryContribution

Visibility Public
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 Optional
Translatorboolean
Defines whether instances of the bean may be cached; the default is specified by the factory.
Attribute class Required
Translatorclass
The bean class that will be instantiated by the factory.
Attribute name Required (Unique)
A unique name for the bean.

Conversion Rules

  • <conversion class="org.apache.hivemind.lib.factory.BeanFactoryContribution" >
    • <map attribute="class" property="beanClass" />
    </conversion>

Back to index
Back to module hivemind.lib