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>
|