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/08/29 23:15:02 UTC

[jira] [Resolved] (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 resolved GERONIMO-6579.
-------------------------------------
    Resolution: Fixed

Done.

> 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) 
>            Reporter: John D. Ament
>            Assignee: John D. Ament
>
> 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)