Yes :-) I think you’ll like it…. I did :-)
david jencks > On Oct 2, 2016, at 2:56 PM, Roy Teeuwen <[email protected]> wrote: > > Hey Neil, > > Thanks, I guess I have to use ObjectClassDefinition and AttributeDefinition > annotations then :) > > Greets > Roy >> On 2 Oct 2016, at 23:46, Neil Bartlett <[email protected]> wrote: >> >> Oh I see. For that you should use a configuration type. See the first >> section of >> http://njbartlett.name/2015/08/17/osgir6-declarative-services.html >> <http://njbartlett.name/2015/08/17/osgir6-declarative-services.html> >> >> Regards, >> Neil >> >> >> >>> On 2 Oct 2016, at 22:43, Roy Teeuwen <[email protected] >>> <mailto:[email protected]>> wrote: >>> >>> 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><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 <[email protected]> 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 <[email protected]> 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: [email protected] >>>>> For additional commands, e-mail: [email protected] >>>>> >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [email protected] >>>> For additional commands, e-mail: [email protected] >>>> >>> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> <mailto:[email protected]> >> For additional commands, e-mail: [email protected] >> <mailto:[email protected]> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

