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=2388816
>>
>> ------------------------------------------------------
>> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2389914
>>
>
>
> -- 
> Regards,
> Evgeny Shepelyuk
>
> ------------------------------------------------------
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2390072
>  
> <src.zip>

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2391744

Reply via email to