Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/jenkins
  Commit: c3988aae8ad66fde529830e799fe3d49cd241ebb
      
https://github.com/jenkinsci/jenkins/commit/c3988aae8ad66fde529830e799fe3d49cd241ebb
  Author: Nicolas De loof <nicolas.del...@gmail.com>
  Date:   2018-08-18 (Sat, 18 Aug 2018)

  Changed paths:
    M core/src/main/java/hudson/ExtensionFinder.java
    M core/src/main/java/hudson/model/Descriptor.java
    A core/src/main/java/hudson/model/PersistentDescriptor.java
    M core/src/main/java/hudson/model/UsageStatistics.java
    M core/src/main/java/hudson/security/csrf/DefaultCrumbIssuer.java
    M core/src/main/java/hudson/tasks/Maven.java
    M core/src/main/java/hudson/tasks/Shell.java
    M core/src/main/java/hudson/triggers/SCMTrigger.java
    M core/src/main/java/jenkins/CLI.java
    M core/src/main/java/jenkins/model/ArtifactManagerConfiguration.java
    M core/src/main/java/jenkins/model/DownloadSettings.java
    M core/src/main/java/jenkins/model/JenkinsLocationConfiguration.java
    M core/src/main/java/jenkins/mvn/GlobalMavenConfig.java
    M 
core/src/main/java/jenkins/security/QueueItemAuthenticatorConfiguration.java
    M core/src/main/java/jenkins/security/UpdateSiteWarningsConfiguration.java
    M 
core/src/main/java/jenkins/security/apitoken/ApiTokenPropertyConfiguration.java

  Log Message:
  -----------
  [JENKINS-52818] support @Postconstruct on extensions (#3570)

* add support for JSR250 @PostConstruct

Signed-off-by: Nicolas De Loof <nicolas.del...@gmail.com>

* with PostConstruct method no need to explicitely invoke load() anymore

Signed-off-by: Nicolas De Loof <nicolas.del...@gmail.com>

* introduce PersistentDescriptor to flag Descriptors
which expect load() to be invoked.

This prevent double execution for plugins which
have been designed on previous version of code and
don’t expect load to be automatically invoked.

Signed-off-by: Nicolas De Loof <nicolas.del...@gmail.com>

* document PostConstruct method discovery logic

Signed-off-by: Nicolas De Loof <nicolas.del...@gmail.com>

* Force reflective access to non-public @PostConstruct methods

Signed-off-by: Nicolas De Loof <nicolas.del...@gmail.com>

* check @PostConstruct annotation both on method and on implemented interface 
with a matching method.

Signed-off-by: Nicolas De Loof <nicolas.del...@gmail.com>

* typo

Signed-off-by: Nicolas De Loof <nicolas.del...@gmail.com>



      **NOTE:** This service has been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-commits+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to