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/04 08:57:00 UTC
[jira] [Commented] (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 commented on SLING-11114:
-----------------------------------
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: 10m
> 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 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)