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:[email protected]] 
Envoyé : lundi 10 juin 2013 10:55
À : [email protected]
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: [email protected]
For additional commands, e-mail: [email protected]


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

Reply via email to