public class DefaultServiceFetcher extends Object
| Constructor and Description |
|---|
DefaultServiceFetcher(ContainerConfig config,
HttpFetcher fetcher) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.Multimap<String,String> |
getServicesForContainer(String container,
String host)
Returns the services, keyed by endpoint for the given container.
|
@Inject public DefaultServiceFetcher(ContainerConfig config, HttpFetcher fetcher)
config - Container Config for looking up endpointspublic com.google.common.collect.Multimap<String,String> getServicesForContainer(String container, String host)
container - The particular container whose services we want.Copyright © 2007-2012. All Rights Reserved.