jsr339-experts@jax-rs-spec.java.net

[jsr339-experts] Re: [jax-rs-spec users] Re: Re: Link.fromResource(Class<?> resource, String rel)

From: Jan Algermissen <jan.algermissen_at_nordsc.com>
Date: Thu, 18 Oct 2012 17:49:26 +0200

On Oct 18, 2012, at 5:39 PM, Santiago Pericas-Geertsen wrote:

>
> On Oct 18, 2012, at 10:47 AM, Jan Algermissen wrote:
>
>>
>> On Oct 18, 2012, at 4:12 PM, Santiago Pericas-Geertsen wrote:
>>
>>>
>>>> that the method must have an @Path annotation on it, so the @Path of the resource class will be used. Does this answer your questions?
>>>>
>>
>> Oh, did not see that.
>>
>> However, either way, I'd like to be able to do that without introspection, IOW, without the link support breaking when sbd hits 'rename' on the target method.
>>
>> (I is also an actual user complaint I got yesterday)
>
> OK, I added the method. Please check it out and make sure it works for your purposes.

Hey, thanks!

Might be a short while since I switched to using latest Glassfish build for deployment and RI snapshot for coding.

Jan

PS If you know a better way to get close to the jersey snapshot working in an app container, let me know :-)

>
> -- Santiago
>