| |||||||
DETAILS: DOCUMENTATION | ELEMENTS | ATTRIBUTES | SOURCE | FRAMES | NO FRAMES |
Attribute Summary | |
xsd:boolean | abstract Is this bean "abstract", that is, not meant to be instantiated itself but rather just serving as parent for concrete child bean definitions? The default is "false". |
xsd:NMTOKEN | autowire Controls whether bean properties are "autowired". |
defaultable-boolean | autowire-candidate Indicates whether or not this bean should be considered when looking for matching candidates to satisfy another bean's autowiring requirements. |
xsd:string | class The fully qualified name of the bean's class, except if it serves only as a parent definition for child bean definitions. |
xsd:string | depends-on The names of the beans that this bean depends on being initialized. |
xsd:string | destroy-method The name of the custom destroy method to invoke on bean factory shutdown. |
xsd:string | factory-bean Alternative to class attribute for factory-method usage. |
xsd:string | factory-method The name of a factory method to use to create this object. |
xsd:string | init-method The name of the custom initialization method to invoke after setting bean properties. |
defaultable-boolean | lazy-init Indicates whether or not this bean is to be lazily initialized. |
xsd:string | name Can be used to create one or more aliases illegal in an (XML) id. |
xsd:string | parent The name of the parent bean definition. |
xsd:boolean | primary Specifies that this bean should be given preference when multiple candidates are qualified to autowire a single-valued dependency. |
xsd:string | scope The scope of this bean: typically "singleton" (one shared instance, which will be returned by all calls to getBean with the given id), or "prototype" (independent instance resulting from each call to getBean). |
Attribute Detail |
xsd:boolean
optional
unqualified
default
optional
unqualified
defaultable-boolean
default
optional
unqualified
xsd:string
optional
unqualified
xsd:string
optional
unqualified
xsd:string
optional
unqualified
xsd:string
optional
unqualified
xsd:string
optional
unqualified
xsd:string
optional
unqualified
defaultable-boolean
default
optional
unqualified
xsd:string
optional
unqualified
xsd:string
optional
unqualified
xsd:boolean
optional
unqualified
xsd:string
optional
unqualified
<xsd:attributeGroup name="beanAttributes"><xsd:attribute name="name" type="xsd:string">
</xsd:attribute><xsd:attribute name="class" type="xsd:string">
</xsd:attribute><xsd:attribute name="parent" type="xsd:string">
</xsd:attribute><xsd:attribute name="scope" type="xsd:string">
</xsd:attribute><xsd:attribute name="abstract" type="xsd:boolean">
</xsd:attribute><xsd:attribute default="default" name="autowire"><xsd:simpleType></xsd:attribute><xsd:restriction base="xsd:NMTOKEN"></xsd:simpleType><xsd:enumeration value="default"/><xsd:enumeration value="no"/><xsd:enumeration value="byName"/><xsd:enumeration value="byType"/><xsd:enumeration value="constructor"/></xsd:restriction><xsd:attribute name="depends-on" type="xsd:string">
</xsd:attribute><xsd:attribute default="default" name="autowire-candidate" type="defaultable-boolean">
</xsd:attribute><xsd:attribute name="primary" type="xsd:boolean">
</xsd:attribute><xsd:attribute name="init-method" type="xsd:string">
</xsd:attribute><xsd:attribute name="destroy-method" type="xsd:string">
</xsd:attribute><xsd:attribute name="factory-method" type="xsd:string">
</xsd:attribute><xsd:attribute name="factory-bean" type="xsd:string">
</xsd:attribute><xsd:anyAttribute namespace="##other" processContents="lax"/></xsd:attributeGroup>
| |||||||
DETAILS: DOCUMENTATION | ELEMENTS | ATTRIBUTES | SOURCE | FRAMES | NO FRAMES |