]> source.dussan.org Git - sonarqube.git/commit
SONAR-9973 ComponentContainer#stopComponent now never fail
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Tue, 31 Oct 2017 14:24:18 +0000 (15:24 +0100)
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Fri, 3 Nov 2017 13:29:16 +0000 (14:29 +0100)
commita6499246ce47e223255d91179fb6370f421da4d2
tree98d211431c058fae7a5cf66d61e7124712bb6f9b
parent3f77b1c483891f478fd95cada5f5d1f6f1ea3b14
SONAR-9973 ComponentContainer#stopComponent now never fail

and ensures all stoppable and/or disposable components in the container have their stop and/or dispose methods called
server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/engine/MigrationContainerImpl.java
server/sonar-server/src/main/java/org/sonar/server/computation/task/container/TaskContainerImpl.java
sonar-core/src/main/java/org/sonar/core/platform/ComponentContainer.java
sonar-core/src/main/java/org/sonar/core/platform/StopSafeReflectionLifecycleStrategy.java [new file with mode: 0644]
sonar-core/src/test/java/org/sonar/core/platform/ComponentContainerTest.java
sonar-scanner-engine/src/main/java/org/sonar/batch/bootstrapper/Batch.java