Hello, Nice to know Spring problems are fixed.
But i can't undeerstand your changes in attached archive. Why it's required to point full path in reouter configuration ? > Hi Evgeny, > > I'm happy to report that the Spring issues with ServerResource that you > reported are now fixed in SVN trunk. Thanks also to Rhett for the help > fixing this. > > Note that there was a URI issue in your Spring XML configuration file. > See > the updated version attached. > > Best regards, > Jerome Louvel > -- > Restlet ~ Founder and Lead developer ~ http://www.restlet.org > Noelios Technologies ~ Co-founder ~ http://www.noelios.com > > > -----Message d'origine----- > De : Rhett Sutphin [mailto:[email protected]] > Envoyé : lundi 7 septembre 2009 07:40 > À : [email protected] > Objet : Re: Problem with SpringBeanFinder in Restlet 2.0m4 > > Hi Evgeny, > > Thanks for the test code. This is now in the issue tracker here: > > http://restlet.tigris.org/issues/show_bug.cgi?id=892 > > Rhett > > On Sep 2, 2009, at 2:41 AM, Evgeny Shepelyuk wrote: > >> Hi ! >> >> Here goes test project >> >>> Hi Evgeny, >>> >>> Someone else had this problem, but I think we thought it was fixed in >>> 2.0M4. I'll can take a look at it in the next few days. Can you >>> file >>> a bug? >>> >>> Thanks, >>> Rhett >>> >>> On Aug 31, 2009, at 5:00 AM, Evgeny Shepelyuk wrote: >>> >>>> Hello, >>>> >>>> I'm migrating application from 1.1 branch to 2.0 and have problems >>>> with >>>> SpringBeanFinder. >>>> Is it usable in 2.0 branch ? While debugging i've discovered that >>>> check is >>>> performsed against targetClass property. >>>> This happen in superclass Finder. But this shouldn't be taken into >>>> account. The same code worked OK in 1.1 branch. >>>> Let me put snippet of XML to illustrate. TransactionResource extends >>>> ServerResource. >>>> >>>> <bean id="transactionResource" >>>> class="com.si.prydbay.billing.restlet.TransactionResource" >>>> scope="prototype"> >>>> <property name="transactionService" > ref="transactionService"/> >>>> <property name="transactionsHtml" >>>> value="classpath:transactions.html"/> >>>> <property name="tokenService" ref="tokenService"/> >>>> </bean> >>>> >>>> <bean id="merchantRouter" >>>> class="org.restlet.ext.spring.SpringRouter"> >>>> <property name="attachments"> >>>> <map> >>>> <entry key="/transactions/{transactionId}"> >>>> <bean > class="org.restlet.ext.spring.SpringBeanFinder"> >>>> <property name="beanName" > value="transactionResource"/> >>>> </bean> >>>> </entry> >>>> </map> >>>> </property> >>>> </bean> >>>> >>>> -- >>>> Regards, >>>> Evgeny Shepelyuk >>>> >>>> ------------------------------------------------------ >>>> > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=23888 > 16 >>> >>> ------------------------------------------------------ >>> > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=23899 > 14 >>> >> >> >> -- >> Regards, >> Evgeny Shepelyuk >> >> ------------------------------------------------------ >> > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=23900 > 72 >> <src.zip> > > ------------------------------------------------------ > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=23917 > 44 > > ------------------------------------------------------ > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2399592 -- Regards, Evgeny Shepelyuk ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2400113

