Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-6579

Support injecting Supplier<T>

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Config_1.0
    • Config
    • Security Level: public (Regular issues)
    • None

    Description

      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.

      Attachments

        Activity

          People

            johndament John D. Ament
            johndament John D. Ament
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: