You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "John D. Ament (JIRA)" <ji...@apache.org> on 2017/09/14 10:40:02 UTC
[jira] [Closed] (GERONIMO-6579) Support injecting Supplier
[ https://issues.apache.org/jira/browse/GERONIMO-6579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John D. Ament closed GERONIMO-6579.
-----------------------------------
> Support injecting Supplier<T>
> -----------------------------
>
> Key: GERONIMO-6579
> URL: https://issues.apache.org/jira/browse/GERONIMO-6579
> Project: Geronimo
> Issue Type: New Feature
> Security Level: public(Regular issues)
> Components: Config
> Reporter: John D. Ament
> Assignee: John D. Ament
> Fix For: Config_1.0
>
>
> Mark raised this on the MP Spec. I think it would be a great idea to prototype this on geronimo side first. We can add support for injecting Supplier<T> and perhaps do the following:
> - Defer look up of the value (don't cache it) until the get method is called
> - If the property is not set, use the default value
> - If the default value is the standard unconfigured value, return null.
> - Otherwise convert the value.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)