Element Summary |
alias |
Defines an alias for a bean (which can reside in a different definition
resource).
|
arg-type |
Identifies an argument for a replaced method in the event of
method overloading.
|
array | An array can contain multiple inner bean, ref, collection, or value elements. |
attribute | A qualifier element may contain attribute child elements as key-value pairs. |
bean | Defines a single (usually named) bean. |
beans | The top level (typically root) element. |
constructor-arg | Bean definitions can specify zero or more constructor arguments. |
description | Contains informative text describing the purpose of the enclosing element. |
entry | A map entry can be an inner bean, ref, value, or collection. |
idref | The id of another bean in this factory or an external factory (parent or included factory). |
import |
Specifies an XML bean definition resource to import.
|
key |
A key element can contain an inner bean, ref, value, or collection.
|
list | A list can contain multiple inner bean, ref, collection, or value elements. |
lookup-method | A lookup method causes the IoC container to override the given method and return the bean with the name given in the bean attribute. |
map | A mapping from a key to an object. |
meta |
Arbitrary metadata attached to a bean definition.
|
null | Denotes a Java null value. |
prop | The string value of the property. |
property | Bean definitions can have zero or more properties. |
props | Props elements differ from map elements in that values must be strings. |
qualifier |
Bean definitions can provide qualifiers to match against annotations
on a field or parameter for fine-grained autowire candidate resolution.
|
ref |
Defines a reference to another bean in this factory or an external
factory (parent or included factory).
|
replaced-method | Similar to the lookup method mechanism, the replaced-method element is used to control IoC container method overriding: Method Injection. |
set |
A set can contain multiple inner bean, ref, collection, or value elements.
|
value | Contains a string representation of a property value. |