Another solution:
You don't have to make the setters and getters private (i.e. setCustomerDao, getCustomer because the references they return are also private). Therefore the s/getters would be either protected or public allowing you to do the spring wiring as follows:
<bean id="customerServiceImpl" class="ke.co.x.x.CustomerServiceImpl">
<property name="customerDao" ref="customerDao"/>
</bean> --- On Mon, 5/25/09, Duggan Kim <mdkimani@gmail.com> wrote:
|