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:07:45 GMT
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
http://blog.nanthrax.net
Talend - http://www.talend.com

Mime
View raw message