<util:map id="xxx.map">
</util:map>
<util:map id="xxx.subMap" map-class="java.util.HashMap">
<entry key="" value-ref=""/>
</util:map>
<bean id="xxx.map.putAll" class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
<property name="targetObject" ref="xxx.map"/>
<property name="targetMethod" value="putAll"/>
<property name="arguments">
<list>
<ref bean="xxx.subMap" />
</list>
</property>
</bean>
MethodInvokingFactoryBean
最新推荐文章于 2020-07-19 17:16:44 发布