Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
hi,
i am working on osgi custom configuration.
but i want to use same service multiple times like we have same format for jdbc configuration and we provide multiple db configs.
is it possible to create custom multivalued configuration ?
Solved! Go to Solution.
Hi,
I believe you are using osgi annotations, then you can do it like below
@Designate(ocd = DemoConfig.class,factory=true)
https://osgi.org/javadoc/r6/cmpn/org/osgi/service/metatype/annotations/Designate.html
View solution in original post
Views
Likes
Replies