<bean id="myString" class="java.lang.String">
<constructor-arg type="java.lang.String" value="Lucio"/>
</bean>
<bean id="myUser" class="com.benfante.User">
<property name="firstName" ref="myString"/>
</bean>
Thanks to Lucio for the example
All the things Running through my head...only if want to write.
1 commenti:
welcome! :)
Posta un commento