OAK-6766: Convert oak-lucene to OSGi R7 annotations
Would be good to get feedback from the Lucene team for this.
Definitely
Maybe the issue of "private" properties can be simplified?
Now that I realized that they can be retrieved directly from the ComponentContext without needing a reference to the ConfigurationAdmin service (see last commit), I don't think it can get simpler anymore.
I don't think it can get simpler anymore.
Have you tried adding the private property names to the annotation, but leaving the @Attribute meta-annotation off? I have a feeling that could work, and you could then access the values more easily. YMMV, I am not 100% certain.
@jsedding Yes, I tried that :)
Addressed @kwin 's suggestions.