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

support @PostConstruct methods on Extensions, not just DataBound components

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • core
    • None

    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

            ndeloof Nicolas De Loof created issue -
            casz Joseph Petersen (old) made changes -
            Field Original Value New Value
            Remote Link This issue links to "jenkins #3570 (Web Link)" [ 21252 ]
            ndeloof Nicolas De Loof made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]

            People

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

              Dates

                Created:
                Updated:
                Resolved: