Package com.proofpoint.discovery.client.balancing

Examples of com.proofpoint.discovery.client.balancing.HttpServiceBalancerProvider


    public void bindHttpBalancer(ServiceType serviceType)
    {
        checkNotNull(serviceType, "serviceType is null");
        bindConfig(binder).annotatedWith(serviceType).prefixedWith("discovery." + serviceType.value()).to(ServiceSelectorConfig.class);
        binder.bind(HttpServiceBalancer.class).annotatedWith(serviceType).toProvider(new HttpServiceBalancerProvider(serviceType.value())).in(Scopes.SINGLETON);
    }
View Full Code Here

TOP

Related Classes of com.proofpoint.discovery.client.balancing.HttpServiceBalancerProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.