public interface RpcServiceLookup
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.Multimap<String,String> |
getServicesFor(String container,
String host)
This result map is a map of the form
{ endpoint1 -> [services]}, endpoint2 -> [services]}
Services are described using the names expected as a result of JSON-RPC call
to system.listMethods
When a gadget is rendered the container data is mapped into gadgets.config and used to
initialize osapi, which typically results in output that looks like
{ "osapi.services" : { "http://.../endpoint1" : ["system.listMethods", "people.get", "people.create",
"people.delete"], ...
|
com.google.common.collect.Multimap<String,String> getServicesFor(String container, String host)
container - host - Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.