io.dropwizard.discovery.DiscoveryConfiguration Maven / Gradle / Ivy
package io.dropwizard.discovery;
import io.dropwizard.Configuration;
import io.dropwizard.discovery.core.CuratorAdvertiser;
import org.apache.curator.x.discovery.ServiceDiscovery;
public interface DiscoveryConfiguration {
DiscoveryFactory getDiscoveryFactory(T configuration);
CuratorAdvertiser getCuratorAdvertiser(
final DiscoveryFactory discoveryConfig,
final ServiceDiscovery discovery);
}