| 
     
      
      
      From: Heiko W.R. <hr...@re...> - 2011-11-14 14:01:32
      
     
   | 
Am 14.11.2011 um 14:47 schrieb Bill Burke: > Its type erasure. Use GenericEntity as Xavier suggested. You are Ok, I understand *sigh* > probably marshalling JAXB? The problem is Resteasy can't determine the > type of the list by just passing it in as the generic type information > is not available. Would it make sense to create some method level annotation (to include in JAX-RS 2.0) that conveys that type information? The GenericEntity may work perfectly, but is an ugly hack, that in my opinion obfuscates the code. Anyway thanks Xavier and Bill. Heiko -- Reg. Adresse: Red Hat GmbH, Technopark II, Haus C, Werner-von-Siemens-Ring 14, D-85630 Grasbrunn Handelsregister: Amtsgericht München HRB 153243 Geschaeftsführer: Brendan Lane, Charlie Peters, Michael Cunningham, Charles Cachera  |