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/11 12:45:00 UTC

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

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

Joerg Hoh edited comment on SLING-11114 at 2/11/22, 12:44 PM:
--------------------------------------------------------------

Raised PR: https://github.com/apache/sling-org-apache-sling-caconfig-impl/pull/5 and https://github.com/apache/sling-org-apache-sling-caconfig-integration-tests/pull/1


was (Author: joerghoh):
Raised PR: https://github.com/apache/sling-org-apache-sling-caconfig-impl/pull/5

> 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
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> 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 {{LazyBindings.Supplier}} can be used, which will only be resolved if the binding is actually used.



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