mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-21 04:15:02 +00:00
make AbstractLicenseeComponents compatible with the found license plugin
Original commit: elastic/x-pack-elasticsearch@6b664d3956
This commit is contained in:
parent
4a780637e9
commit
b698cde334
@ -17,8 +17,8 @@ import org.elasticsearch.marvel.MarvelPlugin;
|
||||
public class MarvelLicensee extends AbstractLicenseeComponent<MarvelLicensee> implements Licensee {
|
||||
|
||||
@Inject
|
||||
public MarvelLicensee(Settings settings, LicenseeRegistry clientService, LicensesManagerService managerService) {
|
||||
super(settings, MarvelPlugin.NAME, clientService, managerService);
|
||||
public MarvelLicensee(Settings settings, LicenseeRegistry clientService) {
|
||||
super(settings, MarvelPlugin.NAME, clientService);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -23,9 +23,8 @@ public class ShieldLicensee extends AbstractLicenseeComponent<ShieldLicensee> im
|
||||
private final ShieldLicenseState shieldLicenseState;
|
||||
|
||||
@Inject
|
||||
public ShieldLicensee(Settings settings, LicenseeRegistry clientService,
|
||||
LicensesManagerService managerService, ShieldLicenseState shieldLicenseState) {
|
||||
super(settings, ShieldPlugin.NAME, clientService, managerService);
|
||||
public ShieldLicensee(Settings settings, LicenseeRegistry clientService, ShieldLicenseState shieldLicenseState) {
|
||||
super(settings, ShieldPlugin.NAME, clientService);
|
||||
add(new Listener() {
|
||||
@Override
|
||||
public void onChange(License license, Status status) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user