Definition Type: Element
Name: alias
Namespace: http://www.springframework.org/schema/beans
Type: anyType:http://www.w3.org/2001/XMLSchema
Containing Schema: spring-beans-3.1.xsd
Abstract
Documentation:
Defines an alias for a bean (which can reside in a different definition resource).
Collapse XSD Schema Diagram:
Drilldown into alias in schema spring-beans-3_1_xsd Drilldown into name in schema spring-beans-3_1_xsdXSD Diagram of alias in schema spring-beans-3_1_xsd (Membrane Service Proxy)
Collapse XSD Schema Code:
<xsd:element name="alias">
    <xsd:annotation>
        <xsd:documentation><![CDATA[
	Defines an alias for a bean (which can reside in a different definition
	resource).
			]]></xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
        <xsd:complexContent>
            <xsd:restriction base="xsd:anyType">
                <xsd:attribute name="name" type="xsd:string" use="required">
                    <xsd:annotation>
                        <xsd:documentation><![CDATA[
	The name of the bean to define an alias for.
							]]></xsd:documentation>
                    </xsd:annotation>
                </xsd:attribute>
                <xsd:attribute name="alias" type="xsd:string" use="required">
                    <xsd:annotation>
                        <xsd:documentation><![CDATA[
	The alias name to define for the bean.
							]]></xsd:documentation>
                    </xsd:annotation>
                </xsd:attribute>
            </xsd:restriction>
        </xsd:complexContent>
    </xsd:complexType>
</xsd:element>
Collapse Child Attributes:
Name Type Default Value Use
name beans:name Required
alias beans:alias Required
<anyAttribute>