Just use https://github.com/TDC-Netdesign/ManagedProperties

On Thu, 12 Jul 2018, 10:55 Philipp Höfler, <philipp.hoef...@pernexas.com>

> Hi,
> I am searching for a possibility to load complex configurations.
> I tried the ConfigurationAdminService, but key value pairs are not
> sufficient as I need complex types.
> Raymond pointed out that I should have a look at the Configurator
> Specification.
> https://osgi.org/specification/osgi.cmpn/7.0.0/service.configurator.html
> I read the specification and it sounds promising.
> But I am stuck how to use the Configuration in my project.
> I understand that I've to add the following dependency.
> org.apache.felix.configurator
> But I don't understand if I've to add some classes, where the json file
> has to be placed and if it's possible to place it outside of the bundle?
> Is there any tutorial or sample project out there?
> Thanks,
> Philipp

Reply via email to