Hey Neil,

See 
http://felix.apache.org/documentation/subprojects/apache-felix-maven-scr-plugin/scr-annotations.html#property
 
<http://felix.apache.org/documentation/subprojects/apache-felix-maven-scr-plugin/scr-annotations.html#property>
Here you see you can also assign a label and a description to a property, these 
will then be shown when configuring a component in the felix web console. 
Thats what I am looking for in the new OSGi DS

Greets,
Roy
> On 2 Oct 2016, at 23:37, Neil Bartlett <njbartl...@gmail.com> wrote:
> 
> Hi Roy,
> 
> What are you looking for exactly? Service properties are simply key-value 
> pairs.
> 
> Regards,
> Neil
> 
> 
>> On 2 Oct 2016, at 22:13, Roy Teeuwen <r...@teeuwen.be> wrote:
>> 
>> Hey all,
>> 
>> Seeing as we upgraded our instance, we want to switch from Apache Felix SCR 
>> Annotations to OSGi Declarative Services for new components. 
>> One of the things I noticed is that there is no @Property and @Properties in 
>> declarative services. Is there still a way to provide label and descriptions 
>> for properties? 
>> Looking at the @Component it is just key=value property types, without any 
>> extra metadata.
>> 
>> Greets,
>> Roy
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
>> For additional commands, e-mail: users-h...@felix.apache.org
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
> For additional commands, e-mail: users-h...@felix.apache.org
> 

Reply via email to