You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Joerg Hoh (Jira)" <ji...@apache.org> on 2022/02/02 17:05:00 UTC

[jira] [Updated] (SLING-11114) Use LazySupplier in ConfigurationBindingsValueProvider

     [ https://issues.apache.org/jira/browse/SLING-11114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joerg Hoh updated SLING-11114:
------------------------------
    Description: 
When adding the bindings some logic is executed independent if the caconfig binding is used or not. In case the provided Bindings object is of type {{LazyBindings}}, a LazySupplier can be added, which will only be resolved if the binding is actually used.


  was:
When adding the bindings some logic is executed independent if the caconfig binding is used or not. In case the provided Bindings object is of type {{LazyBindings}}, as LazySupplier can be added, which will only resolved if the binding is actually used.



> Use LazySupplier in ConfigurationBindingsValueProvider
> ------------------------------------------------------
>
>                 Key: SLING-11114
>                 URL: https://issues.apache.org/jira/browse/SLING-11114
>             Project: Sling
>          Issue Type: Improvement
>          Components: Extensions
>    Affects Versions: Context-Aware Configuration Impl 1.6.0
>            Reporter: Joerg Hoh
>            Assignee: Joerg Hoh
>            Priority: Major
>
> When adding the bindings some logic is executed independent if the caconfig binding is used or not. In case the provided Bindings object is of type {{LazyBindings}}, a LazySupplier can be added, which will only be resolved if the binding is actually used.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)