io.smallrye.stork.spi.config.SimpleRegistrarConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of stork-api Show documentation
Show all versions of stork-api Show documentation
Main Stork API classes. You are likely to need `smallrye-stork-core` and not this module.
The newest version!
package io.smallrye.stork.spi.config;
import java.util.Map;
import io.smallrye.stork.api.config.ServiceRegistrarConfig;
public class SimpleRegistrarConfig implements ServiceRegistrarConfig {
private final String type;
private final String name;
private final Map parameters;
public SimpleRegistrarConfig(String type, String name, Map parameters) {
this.type = type;
this.name = name;
this.parameters = parameters;
}
@Override
public String type() {
return type;
}
@Override
public Map parameters() {
return parameters;
}
@Override
public String name() {
return name;
}
}