Hi,

Following the wiki examples, I integrated Spring and Restlet by using an
extended Restlet bean and handle(Request request, Response response).
However, it seems I would want to extend Resource instead, as it has all
the gubbins for get/post/put/etc. The problem is the router accepts a
class and not an object; so I can't use Spring to inject other beans
into my extended class.

The following options occur to me:
modify Router to accept instances,
recreate the spring context on every call in the Resource,
stash the springcontext in the restlet context.

Have I missed something that would solve this problem, or misunderstood
the framework? If not, then would it be possible to add something to
help with this in future releases?

Thanks for all the great work, I'm enjoying learning this framework.

Best Regards,
Jonathan

Reply via email to