users@jersey.java.net

Re: [Jersey] JaxbContextResolver

From: Sven Waibel <sven.waibel_at_web.de>
Date: Thu, 20 May 2010 18:59:51 +0200

Good point!
But how would it be, if you specify an package name and it scan's the entire package for classes and set's them into the context?

Sven


Am 20.05.2010 um 18:16 schrieb Tatu Saloranta:

> On Thu, May 20, 2010 at 9:15 AM, Tatu Saloranta <tsaloranta_at_gmail.com> wrote:
>> On Thu, May 20, 2010 at 12:48 AM, Sven Waibel <sven.waibel_at_web.de> wrote:
>>>
>>> Hi,
>>>
>>> i have several classes (A,B,C...), all have the same superclass
>>> (Base.class).
>>>
>>> Is it possible to set the superclass into the context and not all of my
>>> classes (A,B,C..)?
>>
>
> I don't think that is enough -- how would context be able to
> automatically (and statically) resolve sub-classes it needs to know
> about?
>
> -+ Tatu +-
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>