| |||||||
| DETAILS: DOCUMENTATION | ELEMENTS | ATTRIBUTES | SOURCE | FRAMES | NO FRAMES | ||||||
| Attribute Summary | |
xsd:boolean | abstractIs 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 | autowireControls whether bean properties are "autowired". |
defaultable-boolean | autowire-candidateIndicates whether or not this bean should be considered when looking for matching candidates to satisfy another bean's autowiring requirements. |
xsd:string | classThe fully qualified name of the bean's class, except if it serves only as a parent definition for child bean definitions. |
xsd:string | depends-onThe names of the beans that this bean depends on being initialized. |
xsd:string | destroy-methodThe name of the custom destroy method to invoke on bean factory shutdown. |
xsd:string | factory-beanAlternative to class attribute for factory-method usage. |
xsd:string | factory-methodThe name of a factory method to use to create this object. |
xsd:string | init-methodThe name of the custom initialization method to invoke after setting bean properties. |
defaultable-boolean | lazy-initIndicates whether or not this bean is to be lazily initialized. |
xsd:string | nameCan be used to create one or more aliases illegal in an (XML) id. |
xsd:string | parentThe name of the parent bean definition. |
xsd:boolean | primarySpecifies that this bean should be given preference when multiple candidates are qualified to autowire a single-valued dependency. |
xsd:string | scopeThe 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:booleanoptionalunqualifieddefaultoptionalunqualifieddefaultable-booleandefaultoptionalunqualifiedxsd:stringoptionalunqualifiedxsd:stringoptionalunqualifiedxsd:stringoptionalunqualifiedxsd:stringoptionalunqualifiedxsd:stringoptionalunqualifiedxsd:stringoptionalunqualifieddefaultable-booleandefaultoptionalunqualifiedxsd:stringoptionalunqualifiedxsd:stringoptionalunqualifiedxsd:booleanoptionalunqualifiedxsd:stringoptionalunqualified<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 | ||||||