On Feb 11, 2009, at 5:42 AM, Samuel Le Berrigaud wrote:
> Hi all,
>
> it looks like I found what I need. The
> com.sun.jersey.spi.container.ResourceFilterFactory provides exactly
> what I need. Thought I'd post the response here for later reference.
>
> However it is on trunk at the moment. I read Paul is about to release
> 1.0.2 sometime soon, this week according to this mail:
> https://jersey.dev.java.net/servlets/ReadMsg?list=users&msgNo=4339
>
Yes, that is it. I have added JavaDoc you can read here:
http://download.java.net/maven/2/com/sun/jersey/jersey-server/1.0.2-
SNAPSHOT/jersey-server-1.0.2-SNAPSHOT-javadoc.jar
When we release the JavaDoc will be online.
Paul.
> All good,
> SaM
>
> On Wed, Feb 11, 2009 at 1:17 PM, Samuel Le Berrigaud
> <samuel.lb_at_gmail.com> wrote:
>> Hi all,
>>
>> I was trying to figure out if there was some sort of
>> ResourceInterceptor API avialable for Jersey. I couldn't find
>> anything
>> apart from the container request and response filters and they don't
>> quite match my requirements.
>>
>> Ideally what I'd like is an interface that I could implement and that
>> would let me do things before, after and possibly even instead of the
>> resource method being called. It would probably give me the
>> method, it
>> argument and the object on which it is being called as arguments.
>>
>> That would really help implement some "cross-cutting" concerns to our
>> REST APIs in a simpler way than using AOP.
>>
>> Hope this make sense.
>> Thanks,
>>
>> SaM
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>