Konrad Windszus created OAK-11686:
-------------------------------------

             Summary: Add lookup of configuration without providing 
BundleContext or ComponentContext
                 Key: OAK-11686
                 URL: https://issues.apache.org/jira/browse/OAK-11686
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: core-spi
            Reporter: Konrad Windszus
            Assignee: Konrad Windszus


In OSGi runtimes it is preferable to first check the framework properties 
before falling back to the regular system properties. As not in all contexts a 
suitable BundleContext is available there should be a dedicated method which 
works without it.

The implementation of that method can look like 
https://github.com/apache/jackrabbit-filevault/blob/c475237b2f529429a47ad029791561f7d9a6413c/vault-core/src/main/java/org/apache/jackrabbit/vault/packaging/impl/OsgiAwarePropertiesUtil.java#L34



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to