Reputation: 233
Is it possible to be managed OSGI bundle properties with Configuration Admin? Which is the best practise about that?
Upvotes: 2
Views: 777
Reputation: 19606
It is absolutely possible. I typically using blueprint together with config admin service. It will give you properties like in spring with the PropertyPlaceholderConfigurer. See: http://www.liquid-reality.de/x/G4Be for an example.
Upvotes: 0
Reputation: 23948
Yes, that is the purpose of Config Admin.
If you are looking for general documentation, I suggest the OSGi Specification or the book "OSGi in Action" (Richard Hall et al).
If you have already tried something and failed, please post details of what you did and what went wrong.
Upvotes: 2