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 Blueprint does not find a bean argument which uses generics
Date Fri, 07 Jun 2013 07:30:40 GMT
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 @@]


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message