|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RpcServiceLookup
Provide information about the set of JSON-RPC services that are available to gadgets running in the context of a specific container
| Method Summary | |
|---|---|
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"], ... |
| Method Detail |
|---|
com.google.common.collect.Multimap<String,String> getServicesFor(String container,
String host)
container - host -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||