I realize that adding getter and setter methods for GadgetContext to
Query will introduce some duplication, because Query already contains
specUri, container, gadgetUri, and ignoreCache fields, which are also
available from GadgetContext (but we want those fields to be
individually settable on Query, and there may not always be a
GadgetContext available when the Query object is initialized, as is the
case when initializing a LocaleQuery in
DefaultMessageBundleFactory#getBundleFor).

How about adding setter and getter methods for Locale and SecurityToken
to Query?

http://codereview.appspot.com/1688043/show

Reply via email to