felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Meschberger <fmesc...@adobe.com>
Subject Re: Blueprint does not find a bean argument which uses generics
Date Mon, 10 Jun 2013 08:55:16 GMT
Hi JP

As you noticed, this is probably better asked over at users (at) aries.

Thanks and Regards
Felix

Am 07.06.2013 um 09:30 schrieb CLEMENT Jean-Philippe:

> Dear Felix Team,
> 
> I have a trouble with Blueprint injection and generics.
> 
> I have something like this:
> 
> 
> *         interface X<T> is defined
> 
> *         a class A implements X<JPanel>
> 
> *         another class B has a constructor with a single argument X<? extends Component>
> 
> Calling B with A using regular Java code is correct. However, injecting A in B using
blueprint fails with the error that no constructor is found matching A. Even type forcing
fails.
> 
> Can Felix handle generics?
> 
> Cheers,
> JP
> 
> [@@ OPEN @@]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Mime
View raw message