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 22:40:00 UTC

[jira] [Created] (GERONIMO-6579) Support injecting Supplier

John D. Ament created GERONIMO-6579:
---------------------------------------

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