org.apache.shindig.gadgets.config
Class CoreUtilConfigContributor
java.lang.Object
org.apache.shindig.gadgets.config.CoreUtilConfigContributor
- All Implemented Interfaces:
- ConfigContributor
public class CoreUtilConfigContributor
- extends Object
- implements ConfigContributor
Populates the core.util configuration, which at present includes the list
of features that are supported.
- Since:
- 2.0.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CoreUtilConfigContributor
@Inject
public CoreUtilConfigContributor(FeatureRegistry registry)
contribute
public void contribute(Map<String,Object> config,
Gadget gadget)
- Contribute configuration values for a specific gadget in an iframe.
- Specified by:
contribute in interface ConfigContributor
- Parameters:
config - The config mapping of feature to value.gadget - The gadget to contribute for.
contribute
public void contribute(Map<String,Object> config,
String container,
String host)
- Contribute configuration for the container specific javascript. This interface
should only support params used by JsServlet
- Specified by:
contribute in interface ConfigContributor
- Parameters:
config - The config to add to.container - The container.host - The hostname
Copyright © 2007-2012. All Rights Reserved.