Hi,
should dependency injection work for beans with scope = prototype that are defined in other bundles?
I have a constellation in which I have to instantiate the class programmatically using new and not via beans.xml. Sometimes this works and the field of the created class is injected, sometimes it does not work.
If more details are required to answer this question you can take a look at thread 59126 (threading issues with scope="prototype", sorry I cannot post URLs yet...)
Any ideas?
Best regards, Jens
should dependency injection work for beans with scope = prototype that are defined in other bundles?
Code:
<context:spring-configured/> <bean class="exporter1.Consumer1" scope="prototype"> <property name="text" value="text1"></property> </bean>
If more details are required to answer this question you can take a look at thread 59126 (threading issues with scope="prototype", sorry I cannot post URLs yet...)
Any ideas?
Best regards, Jens
Comment