-
Notifications
You must be signed in to change notification settings - Fork 413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OAK-6766: Convert oak-lucene to OSGi R7 annotations #1352
base: trunk
Are you sure you want to change the base?
Conversation
Fixed handling of component property attribute.
Simplified component property handling.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be good to get feedback from the Lucene team for this. Maybe the issue of "pirvate" properties can be simplified?
Definitely
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. |
Have you tried adding the private property names to the annotation, but leaving the |
...src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/LuceneIndexProviderService.java
Outdated
Show resolved
Hide resolved
@jsedding Yes, I tried that :) |
...src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/LuceneIndexProviderService.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/LuceneIndexProviderService.java
Outdated
Show resolved
Hide resolved
Removed redundant type conversions. Replaced component properties with comfiguration type methods.
Addressed @kwin 's suggestions. |
Added missing bind/unbind attribute to reference annotation.
No description provided.