Re: resteasy and subresources

2012-06-07 Thread Alejandro Scandroli
Hi Paulo I think you could inject the ObjectLocator into the FooResource and then ask for the BarResource. You could get away with it, although it doesn't seem very practical. Is the ObjectLocator enough for your scenario or you were expecting some kind of injection into entities like the one in t

resteasy and subresources

2012-06-04 Thread Paulo Andrade
Hello, I''m using tynamo-resteasy and was wondering if one could use subresources with it. (http://docs.jboss.org/resteasy/docs/1.0.0.GA/userguide/html/JAX-RS_Resource_Locators_and_Sub_Resources.html) Basically for a URL like this: /foo/1/bar I would have a FooResource that would return the