I have the following spring beans configured in a context file <bean id="virtualHost" class="org.restlet.ext.spring.SpringHost"> <constructor-arg ref="component" /> <property name="attachments"> <map> <entry key="/ws" value-ref="wsRouter" /> </map> </property> </bean>
<bean id="wsRouter" class="org.restlet.ext.spring.SpringRouter"> <property name="attachments"> <map> <entry key="/contact/{operation}" value-ref="contact" /> </map> </property> </bean> <bean id="contact" class="com.xxx.ContactData" scope="prototype" /> my "contact" bean is not being injected in the SpringRouter if I use a value-ref for some reason. It does work for a <value> configuration though: <entry key="/contact/{operation}" value="com.xxx.ContactData" /> Any suggestions? -- View this message in context: http://n2.nabble.com/Unable-to-inject-bean-value-ref-in-a-Spring-Router-tp3756435p3756435.html Sent from the Restlet Discuss mailing list archive at Nabble.com. ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2402992