|
From: Bill B. <bb...@re...> - 2008-11-21 13:28:00
|
Michael Brackx wrote:
> i committed a "fix" for the simple parent case
>
> @Provider
> public class PersonConverter extends SuperPersonConverter{...}
>
> public class SuperPersonConverter implements StringConverter<Person>{...}
>
> however, the original testcase remains a problem
>
> @Provider
> public static class CompanyConverter extends ObjectConverter<Company>{..}
>
> public abstract static class ObjectConverter<T> implements
> StringConverter<T>{...}
>
> How can you get the type in this case?
>
@Provider
public static class CompanyConverter extends ObjectConverter<Company>
implements StringConverter<Company> {}
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
|