Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-52818

support @PostConstruct methods on Extensions, not just DataBound components

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Similar Issues:

      Description

      Stapler do support @PostConstruct methods when handling form data binding, but Extensions don't (Guice clearly rejected support for JSR-250 lifecycle annotations)

      To offer an homogeneous developer experience ExtensionFinder should be set so PostConstruct methods are supported as well on Extensions.

        Attachments

          Issue Links

            Activity

            Hide
            renescheibe René Scheibe added a comment -

            Nicolas De Loof the pull request is already merged. Is there anything left or can this be closed?

            Show
            renescheibe René Scheibe added a comment - Nicolas De Loof the pull request is already merged. Is there anything left or can this be closed?

              People

              • Assignee:
                ndeloof Nicolas De Loof
                Reporter:
                ndeloof Nicolas De Loof
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: