On 03/06/2012 23:58, Mark Thomas wrote:

> Konstantin Kolinko <[email protected]> wrote:

>> Does something guarantee that there is always common type among 
>> injection targets?
>> 
>> Can there be two disjoint interfaces A and B, which are both 
>> implemented by a resource, so assignment to A or B should succeed,
>> but getInjectionTargetType() will result in a failure?
> 
> Potentially, yes. That case needs to be handled too but in my view
> only if a type is defined in web.xml. I don't think it is reasonable
> to find a suitable type if injection targets define disparate
> interfaces with no concrete type in web.xml.

Fixed.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to