New injector (#111722)

* Initial new injector

* Allow createComponents to return classes

* Downsample injection

* Remove more vestiges of subtype handling

* Lowercase logger

* Respond to code review comments

* Only one object per class

* Some additional cleanup incl spotless

* PR feedback

* Missed one

* Rename workQueue

* Remove Injector.addRecordContents

* TelemetryProvider requires us to inject an object using a supertype

* Address Simon's comments

* Clarify the reason for SuppressForbidden

* Make log indentation code less intrusive
This commit is contained in:
Patrick Doyle 2024-08-28 11:13:47 -04:00 committed by GitHub
parent 046d6ee754
commit 50871a3d28
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 1025 additions and 25 deletions

View file

@ -190,6 +190,7 @@ module org.elasticsearch.server {
exports org.elasticsearch.common.file;
exports org.elasticsearch.common.geo;
exports org.elasticsearch.common.hash;
exports org.elasticsearch.injection.api;
exports org.elasticsearch.injection.guice;
exports org.elasticsearch.injection.guice.binder;
exports org.elasticsearch.injection.guice.internal;