|
From: Bill B. <bb...@re...> - 2008-11-21 13:30:28
|
Ugh, How about we just add a getType() method to the interface?
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?
>
> Michael Brackx
--
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com
|