Definition Type: Attribute
Name: primary
Namespace: http://www.springframework.org/schema/beans
Type: boolean:http://www.w3.org/2001/XMLSchema
Containing Schema: spring-beans-3.1.xsd
Use (Optional)
Documentation:
Specifies that this bean should be given preference when multiple candidates are qualified to autowire a single-valued dependency. If exactly one 'primary' bean exists among the candidates, it will be the autowired value.
Collapse XSD Schema Diagram:
XSD Diagram of primary in schema spring-beans-3_1_xsd (Membrane Service Proxy)
Collapse XSD Schema Code:
<xsd:attribute name="primary" type="xsd:boolean">
    <xsd:annotation>
        <xsd:documentation><![CDATA[
	Specifies that this bean should be given preference when multiple
	candidates are qualified to autowire a single-valued dependency.
	If exactly one 'primary' bean exists among the candidates, it
	will be the autowired value.
				]]></xsd:documentation>
    </xsd:annotation>
</xsd:attribute>