public class OsapiServicesConfigContributor extends Object implements ConfigContributor
| Modifier and Type | Field and Description |
|---|---|
protected RpcServiceLookup |
rpcServiceLookup |
| Constructor and Description |
|---|
OsapiServicesConfigContributor(RpcServiceLookup rpcServiceLookup) |
| Modifier and Type | Method and Description |
|---|---|
void |
contribute(Map<String,Object> config,
Gadget gadget)
Contribute configuration values for a specific gadget in an iframe.
|
void |
contribute(Map<String,Object> config,
String container,
String host)
Contribute configuration for the container specific javascript.
|
protected final RpcServiceLookup rpcServiceLookup
@Inject public OsapiServicesConfigContributor(RpcServiceLookup rpcServiceLookup)
public void contribute(Map<String,Object> config, Gadget gadget)
contribute in interface ConfigContributorconfig - The config mapping of feature to value.gadget - The gadget to contribute for.public void contribute(Map<String,Object> config, String container, String host)
contribute in interface ConfigContributorconfig - The config to add to.container - The container.host - The hostnameCopyright © 2007-2012. All Rights Reserved.