fallenshadow
May 10th, 2012, 11:10 AM
Hey guys/gals,
Does anyone know how to use a springbean instead of using setters for the information?
For example instead of:
exampleDetails.setName("bob");
I want to use this for the details:
<bean id="Details" class="com.examplePackage.Details">
<property name="name" value="bob" />
</bean>
Thanks in advance!
Does anyone know how to use a springbean instead of using setters for the information?
For example instead of:
exampleDetails.setName("bob");
I want to use this for the details:
<bean id="Details" class="com.examplePackage.Details">
<property name="name" value="bob" />
</bean>
Thanks in advance!