io.dropwizard.discovery.DiscoveryConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dropwizard-discovery Show documentation
Show all versions of dropwizard-discovery Show documentation
Service discovery for Dropwizard using Curator
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);
}