[ 
https://issues.apache.org/jira/browse/KARAF-6340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16975576#comment-16975576
 ] 

Jean-Baptiste Onofré commented on KARAF-6340:
---------------------------------------------

[~Mikael Åsberg] previously, in a command, when we used {{@Reference}} you go a 
service reference but without able to select the actual service.

For instance, imagine you have two {{FooService}} available. The first one with 
service property {{type=one}} and the second one with service property 
{{type=two}}. In your command, you want to select only one of the two using a 
filter.

Now, you can do {{@Reference(filter="type=one")}}.

> Add filter attribute on command @Reference annotation
> -----------------------------------------------------
>
>                 Key: KARAF-6340
>                 URL: https://issues.apache.org/jira/browse/KARAF-6340
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>              Labels: shell
>             Fix For: 4.3.0, 4.2.8
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to