Yep, I just got done realizing that myself! Thanks for the note!

OK, so I am now running the latest "unstable" JEE snapshot and my simple spring 
test work's using SpringRouter, but not the SpringBeanRouter method. See 
examples below

-------------------------------
THIS BELOW CONFIG WORKS AS EXPECTED;
-----------------------------

<bean id="router" class="org.restlet.ext.spring.SpringRouter">
    
     <constructor-arg ref="myRestApp" />
 
     <property name="attachments">
         <map>
             <entry key="/dog"                  
value="com.my.package.rest.v1.resource.UserResource" />
         </map>
     </property>
 </bean>


-------------------------------
THIS BELOW CONFIG FAILS WITH:

No target class was defined for this finder
org.restlet.ext.spring.springbeanfin...@47696dad
-----------------------------

<bean name="router" class="org.restlet.ext.spring.SpringBeanRouter"/>

        <bean name="/dog" 
                id="userResource" 
                autowire="byName" 
                scope="prototype" 
                class="com.my.package.rest.v1.resource.UserResource"/>

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

Reply via email to