RESOLVED - issue BATCH-1397: Late binding only happens once per ApplicationContext if expression is in substring

http://jira.springframework.org/browse/BATCH-1397
This commit is contained in:
dsyer
2009-09-07 16:58:39 +00:00
parent db485dbd10
commit 8143e66768
3 changed files with 31 additions and 1 deletions

View File

@@ -16,6 +16,16 @@
</property>
</bean>
<bean id="nested" class="org.springframework.aop.framework.ProxyFactoryBean">
<property name="targetSource">
<bean
class="org.springframework.batch.core.scope.util.PlaceholderTargetSource">
<property name="contextFactory" ref="context" />
<property name="targetBeanName" value="nestedTarget" />
</bean>
</property>
</bean>
<bean id="list" class="org.springframework.aop.framework.ProxyFactoryBean">
<property name="targetSource">
<bean
@@ -41,6 +51,11 @@
<property name="name" value="%{attributes[foo]}" />
</bean>
<bean id="nestedTarget"
class="org.springframework.batch.core.scope.util.MultipleContextPlaceholderTargetSourceTests$TestBean">
<property name="name" value="foo-%{attributes[foo]}" />
</bean>
<bean id="listTarget"
class="org.springframework.batch.core.scope.util.MultipleContextPlaceholderTargetSourceTests$TestBean">
<property name="names">