users@jersey.java.net

entity providers for collections?

From: <FSauer_at_dsthealthsolutions.com>
Date: Tue, 1 Apr 2008 18:45:38 -0500

How does one write JAXB entity providers for collections? Wrapping them in
a class works fine, but
I want to be able to return List<SomeType> from resource methods but I
can't figure out how to register the providers.
type-erasure makes this hard..... if not impossible. How do you
distinguish multiple providers for ArrayList if the element type
is not available at runtime??? Any help is appreciated,

Thanks,

Frank


-----------------------------------------
This e-mail and any attachments are intended only for the
individual or company to which it is addressed and may contain
information which is privileged, confidential and prohibited from
disclosure or unauthorized use under applicable law. If you are
not the intended recipient of this e-mail, you are hereby notified
that any use, dissemination, or copying of this e-mail or the
information contained in this e-mail is strictly prohibited by the
sender. If you have received this transmission in error, please
return the material received to the sender and delete all copies
from your system.