[jira] [Updated] (GERONIMO-6579) Support injecting Supplier<T>

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (GERONIMO-6579) Support injecting Supplier<T>

JIRA jira@apache.org

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

John D. Ament updated GERONIMO-6579:
------------------------------------
    Fix Version/s: Config_1.0

> 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)