[ 
https://issues.apache.org/jira/browse/OAK-6770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16380317#comment-16380317
 ] 

Marcel Reutegger commented on OAK-6770:
---------------------------------------

bq. maybe there's way to do this in a simplified manner that does not require 
duplicating property names as method definitions and strings.

The configuration for the DocumentNodeStoreService addresses this by using a 
dynamic proxy with an invocation handler. The 
[DocumentNodeStoreServiceConfiguration|https://github.com/apache/jackrabbit-oak/blob/jackrabbit-oak-1.8.0/oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeStoreServiceConfiguration.java]
 also does lookup of framework and system properties and has a concept of a 
preset. 

> Convert oak-segment-tar to OSGi R6 annotations
> ----------------------------------------------
>
>                 Key: OAK-6770
>                 URL: https://issues.apache.org/jira/browse/OAK-6770
>             Project: Jackrabbit Oak
>          Issue Type: Technical task
>          Components: segment-tar
>            Reporter: Robert Munteanu
>            Assignee: Francesco Mari
>            Priority: Minor
>              Labels: osgi
>             Fix For: 1.9.0, 1.10
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to