felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From CLEMENT Jean-Philippe <jean-philippe.clem...@fr.thalesgroup.com>
Subject RE: Blueprint does not find a bean argument which uses generics
Date Mon, 10 Jun 2013 09:00:24 GMT
My mistake, sorry.

I asked Aries team but did not obtain any reply.

It seems I cannot inject any method which uses generics. I'm wondering if it cannot be related
to configuration.

JP

[@@ OPEN @@]


-----Message d'origine-----
De : Felix Meschberger [mailto:fmeschbe@adobe.com] 
Envoyé : lundi 10 juin 2013 10:55
À : users@felix.apache.org
Objet : Re: Blueprint does not find a bean argument which uses generics

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


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


Mime
View raw message