I'm trying to use the new SpringFinder class, but I'm unsure about one
thing.

I see from the example in the Javadoc for configuring the resource using
SpringFinder, but I do not see an example about how to register the
SpringFinder from the application.  In particular, how can the application
"know" about my SpringFinder instance given that the RESTlet framework
insists on creating the application; it is not injectable, since there
doesn't appear to be a way to have Spring manage the application instance.

Keep in mind that I cannot use the SpringContext stuff included in the
extension package since I am using Restlet in an existing Spring application
invoked from a WAR, and it uses the traditional WebApplicationContext stuff
from Spring which is initialized from a servlet.

Unfortunately it seems (hope I'm wrong) that Restlet is still vaguely
competing with Spring and other IOC systems rather than cooperating with
them.

Ryan

--
Ryan Daum
[EMAIL PROTECTED]
Senior Developer, Toronto
647.724.5232 x 2073

Reply via email to