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.
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
>