Allow for incremental preloading of gadget metadata and security tokens
-----------------------------------------------------------------------
Key: SHINDIG-1579
URL: https://issues.apache.org/jira/browse/SHINDIG-1579
Project: Shindig
Issue Type: Improvement
Reporter: Jesse Ciancetta
Attachments: preload-from-config.patch
Common container currently supports a one-time bulk preload of gadget metadata
and security tokens via the opt_config parameter passed to the Container
constructor, however it would also be useful to have a way to incrementally
preload this data as well.
We're currently doing this in Apache Rave by calling the private
container.preloadFromConfig_ function for each of our gadgets before calling
container.navigateGadget which seems to work just fine, but we obviously don't
want to continue to rely on a private function.
I'm attaching a patch to make the preloadFromConfig_ function public -- if this
looks good to everyone I would be happy to go ahead and submit a patch against
the container specification for this change as well.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira