forked from elastic/elasticsearch
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove Plugin.createComponents method that specifies individual servi…
…ces (elastic#101457) This is a breaking change for plugins implementing createComponents. Subclasses should be refactored to implement the method that takes a PluginServices object instead.
- Loading branch information
1 parent
6f346f4
commit cb369a6
Showing
2 changed files
with
14 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
pr: 101457 | ||
summary: "Remove Plugin.createComponents method in favour of overload with a PluginServices object" | ||
area: Infra/Plugins | ||
type: breaking-java | ||
breaking: | ||
area: "Java API" | ||
title: "Plugin.createComponents method has been refactored to take a single PluginServices object" | ||
details: > | ||
Plugin.createComponents currently takes several different service arguments. The signature of this method changes | ||
every time a new service is added. The method has now been modified to take a single interface object | ||
that new services are added to. This will reduce API incompatibility issues when a new service | ||
is introduced in the future. | ||
impact: "Plugins that override createComponents will need to be refactored to override the new method on ES 8.12+" | ||
notable: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters