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

Reply via email to