INT-4530: Remove Meters

JIRA: https://jira.spring.io/browse/INT-4530

- implement `DisposableBean` in all meter-aware components
- remove meters in `destroy()`
- manually destroy annotation components created by `registerSingleton()`
  - changing these beans to register as bean definitions caused some subtle
    initialization side-effects; given we are post-RC, I felt it was too late
    to make such a large change
  - also CPXAC is not a `GenericApplicationContext`
  - hence a bean is registered to destroy them manually

* Rebase; Polishing - PR Comments
This commit is contained in:
Gary Russell
2018-10-19 15:00:04 -04:00
committed by Artem Bilan
parent e3ce37ca36
commit 23ebe56838
25 changed files with 325 additions and 43 deletions

View File

@@ -121,7 +121,7 @@ subprojects { subproject ->
kryoShadedVersion = '3.0.3'
lettuceVersion = '5.1.0.RELEASE'
log4jVersion = '2.11.1'
micrometerVersion = '1.0.6'
micrometerVersion = '1.1.0-SNAPSHOT'
mockitoVersion = '2.22.0'
mysqlVersion = '8.0.11'
pahoMqttClientVersion = '1.2.0'