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

Niclas Hedhman commented on QI-120:
-----------------------------------


I think that generics support for @Service injection would be excellent.

The missing bits in ServiceFinder could perhaps be fixed by adding access to 
the Generic type in the ServiceReference, so that a client can query the whole 
set and pick the proper one?

> 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