users@jersey.java.net

Re: [Jersey] javax.ws.rs.ext.Providers - Version of API

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Tue, 12 Aug 2008 14:24:50 +0200

Reto Bachmann-Gmür wrote:
> Thanks, I can find different *Provider-classes using
> javax.ws.rs.ext.Providers but can't find a class implementing it. Where
> do I find such an implementation?
>

It is implemented as an anonymous inner class that defers functionality
to other instances. See here @ line 611:

https://jersey.dev.java.net/source/browse/*checkout*/jersey/trunk/jersey/jersey-server/src/main/java/com/sun/jersey/impl/application/WebApplicationImpl.java

Paul.

> Cheers,
> reto
>
> Paul Sandoz wrote:
>> Hi Reto,
>>
>> We have shifted from ant to maven, then modularized using maven.
>> Jersey is currently depending on 0.9 of the 311 API from maven [1].
>> See this [2] blog entry for more details.
>>
>> So the jars you see in SVN are now redundant and we should remove them.
>>
>> Paul.
>>
>> [1] http://download.java.net/maven/2/javax/ws/rs/jsr311-api/0.9/
>> [2] http://blogs.sun.com/sandoz/entry/modularizing_jersey
>> http://download.java.net/maven/2/com/sun/jersey/jersey-core/0.9-ea-SNAPSHOT/jersey-core-0.9-ea-SNAPSHOT.pom
>>
>>
>>
>> Reto Bachmann-Gmür wrote:
>>> Hello
>>>
>>> to better understand javax.ws.rs.ext.Providers I wanted to have a
>>> look at the implementation in the RI.
>>>
>>>
>>> However, the jsr311-api.jar in the svn-trunk does not contain the
>>> interface. The interface is present in 0.9 and 0.10, is the RI for
>>> this versions somewhere else?
>>>
>>> Cheers,
>>> reto
>>>
>>
>
>

-- 
| ? + ? = To question
----------------\
    Paul Sandoz
         x38109
+33-4-76188109