karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: Adding service property to custom karaf shell command
Date Tue, 11 Aug 2015 19:34:20 GMT
You're welcome !

Regards
JB

On 08/11/2015 09:31 PM, Craig Niles wrote:
> Awesome, thanks JB!
>
> On Tue, Aug 11, 2015 at 7:07 PM, Jean-Baptiste Onofré <jb@nanthrax.net
> <mailto:jb@nanthrax.net>> wrote:
>
>     Hi Craig,
>
>     reference-list supports filter:
>
>          <reference-list id="myRemoteServices" availability="optional"
>     interface="MyInterface"
>                filter="(&(service.imported=true)(name=foo))"/>
>
>     Regards
>     JB
>
>
>     On 08/11/2015 08:53 PM, Craig Niles wrote:
>
>         Hi,
>
>         I'm creating a custom shell command and need to have a
>         reference-list of
>         service objects injected through blueprint.  The service objects,
>         however, are remote using DOSGi implemented with Apache CXF.
>
>         Is there a way that I can add a service property to the created
>         command
>         Function/Action service or its associated bean (created with
>         blueprint
>         using the command-bundle schema)?  I need the property
>         "service.imported" set.
>
>         I'm using karaf 3.0.3.
>
>         Thanks!
>
>
>     --
>     Jean-Baptiste Onofré
>     jbonofre@apache.org <mailto:jbonofre@apache.org>
>     http://blog.nanthrax.net
>     Talend - http://www.talend.com
>
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Mime
View raw message