public class ServiceClientModule extends Object implements DruidModule
| Constructor and Description |
|---|
ServiceClientModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(com.google.inject.Binder binder) |
OverlordClient |
makeOverlordClient(com.fasterxml.jackson.databind.ObjectMapper jsonMapper,
ServiceClientFactory clientFactory,
ServiceLocator serviceLocator) |
ServiceLocator |
makeOverlordServiceLocator(DruidNodeDiscoveryProvider discoveryProvider) |
ServiceClientFactory |
makeServiceClientFactory(HttpClient httpClient) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetJacksonModulespublic void configure(com.google.inject.Binder binder)
configure in interface com.google.inject.Module@Provides public ServiceClientFactory makeServiceClientFactory(HttpClient httpClient)
@Provides public ServiceLocator makeOverlordServiceLocator(DruidNodeDiscoveryProvider discoveryProvider)
@Provides public OverlordClient makeOverlordClient(com.fasterxml.jackson.databind.ObjectMapper jsonMapper, ServiceClientFactory clientFactory, ServiceLocator serviceLocator)
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.