Added test for placeholder in alias definition
Issue: SPR-11018
This commit is contained in:
parent
0aedd81ccc
commit
e9a24da225
|
@ -7,11 +7,19 @@
|
||||||
|
|
||||||
<context:annotation-config/>
|
<context:annotation-config/>
|
||||||
|
|
||||||
|
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
|
||||||
|
<property name="properties">
|
||||||
|
<props>
|
||||||
|
<prop key="myProp">larry</prop>
|
||||||
|
</props>
|
||||||
|
</property>
|
||||||
|
</bean>
|
||||||
|
|
||||||
<bean id="larryBean" class="org.springframework.beans.factory.xml.QualifierAnnotationTests$Person">
|
<bean id="larryBean" class="org.springframework.beans.factory.xml.QualifierAnnotationTests$Person">
|
||||||
<property name="name" value="LarryBean"/>
|
<property name="name" value="LarryBean"/>
|
||||||
</bean>
|
</bean>
|
||||||
|
|
||||||
<alias name="larryBean" alias="someAlias"/>
|
<alias name="${myProp}Bean" alias="someAlias"/>
|
||||||
|
|
||||||
<alias name="someAlias" alias="stooge"/>
|
<alias name="someAlias" alias="stooge"/>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue