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

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

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

JIRA jira@apache.org
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)