Hi,
Suppose, I have this context:
Is it possible to get new adapter instances on every this call:Code:<bean name="modemManager" class="devman.modem.ModemManager"> <property name="adapters"> <list> <bean class="devman.modem.adapter.HuaweiMT800Adapter"/> ... </list> </property> </bean>
I read 3.3.8. Method Injection in Spring documentation, but I can't understand how to get new instances even with devman.modem.ModemManager implements BeanFactoryAwareCode:for(IModemAdapter adapter : adapters) { adapter.configure(); }
Is it possible?



Reply With Quote