Property in OSGI

Avatar

Avatar

avalers

Avatar

avalers

avalers

15-10-2015

Hi everyone,

Can I add a custom property on my OSGI service?

ex.

@Properties({
    @Property(name ="NewValue", intValue = 0, propertyPrivate = false, label="custom value")})
@Service
public class NameClass

 

If I can, How I access to the property in my source code?

 

Thanks,

Accepted Solutions (1)

Accepted Solutions (1)

Answers (0)