users@jersey.java.net

Re: [Jersey] natural notation stopped to work

From: Jakub Podlesak <Jakub.Podlesak_at_Sun.COM>
Date: Thu, 21 Jan 2010 14:54:02 +0100

On Thu, Jan 21, 2010 at 10:27:18AM +0000, Paul Sandoz wrote:
>
> On Jan 21, 2010, at 9:12 AM, Jakub Podlesak wrote:
>
> >On Thu, Jan 21, 2010 at 09:31:30AM +0100, Felipe Gaúcho wrote:
> >>>One simple solution is to check of all classes belong to a
> >>>particular
> >>>package.
> >>
> >>can I use package name instead of classe names? it would be cool..
> >>super simple..
> >
> >You can do that, see [1],
> >
>
> But the ContextResolver also needs to managed the set of supported
> classes, and it cannot defer to its created JAXBContext to query for
> supported classes. So we were musing over the possibility of an
> abstract ContextResolver<JAXBContext> implementation to aid in that
> respect.

Ah, got it now.

~Jakub

>
> Paul.
>
>
> >~Jakub
> >
> >[1]https://jersey.dev.java.net/nonav/apidocs/latest/jersey/com/sun/jersey/api/json/JSONJAXBContext.html
> >#JSONJAXBContext%28com.sun.jersey.api.json.JSONConfiguration,
> >%20java.lang.String%29
> >
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> >>For additional commands, e-mail: users-help_at_jersey.dev.java.net
> >>
> >
> >--
> >http://blogs.sun.com/japod
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> >For additional commands, e-mail: users-help_at_jersey.dev.java.net
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>

-- 
http://blogs.sun.com/japod