[ 
http://issues.ops4j.org/jira/browse/QI-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11601#action_11601
 ] 

Rickard Öberg commented on QI-120:
----------------------------------

The problem is that internally service injection works with Class instead of 
Type. Most of the injection system can be changed to work with Type instead 
(allowing @Service Wrapper<Foo> foo; for example), but the ServiceFinder 
methods cannot be changed to support this, since that would loose the nice 
generics support. What to do? Skip this feature, or do it but skip generics in 
the ServiceFinder methods?

> Service injection doesn't consider generics
> -------------------------------------------
>
>                 Key: QI-120
>                 URL: http://issues.ops4j.org/jira/browse/QI-120
>             Project: Qi4j
>          Issue Type: Bug
>            Reporter: Rickard Öberg
>            Assignee: Rickard Öberg
>             Fix For: 0.4
>
>
> Currently the @Service injection does not consider generics. This is 
> particularly problematic with Wrapper<type> which relies on the type rather 
> than the Wrapper interface for correct service lookup.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.ops4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to