On Thu, May 26, 2011 at 2:23 PM, Thomas Broyer <t.bro...@gmail.com> wrote:

> How about simply using a ServiceLayerDecorator that overrides
> resolveLocator, delegating to super.resolveLocator and, if it returns null
> then return the "default locator" instead?
>
> If it were in a separate annotation, you could simply define your own
interface with whatever defaults you like and then extend that interface
instead of RequestContext.  We use this pattern a lot for i18n Messages to
get company/project-wide defaults.

-- 
John A. Tamplin
Software Engineer (GWT), Google

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to