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 |
---|
| 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) |
---|
| A unique name for the bean. |
| Conversion Rules- <conversion
class="org.apache.hivemind.lib.factory.BeanFactoryContribution"
>
- <map
attribute="class"
property="beanClass"
/>
</conversion>
|