All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.smallrye.stork.spi.config.SimpleRegistrarConfig Maven / Gradle / Ivy

Go to download

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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy