• Dave Syer's avatar
    Fix some sloppy code in context hierarchy support · 999748bd
    Dave Syer authored
    * The SpringApplicationBuilder was registering the parent context initializer
    twice (not really a problem, but confusing if you are debugging).
    
    * ParentContextApplicationContextInitializer itself should have been
    checking that the current context is not the parent
    
    * The EventPublishingRunListener as a result needs to call
    setApplicationContext on any listeners that are AplicationContextAware
    
    * ParentContextCloserApplicationListener can ensure that there is
    only one of its kind per application context by implementing hashCode
    and equals
    
    Fixes gh-1142
    999748bd
Name
Last commit
Last update
docs Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-tools Loading commit data...
spring-boot-versions Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.adoc Loading commit data...
README.adoc Loading commit data...
pom.xml Loading commit data...