@Bobv

Thanks for committing the previous change, and I've got one more change that 
will make my, and probably a bunch of other people's, lives easier. By being 
able to setup a DefaultLocator, it would stop me from having to copy/paste 

@ServiceName(value="com.my.service.MyService" *
locator="com.my.locator.SpringLocator"*)

 in every RequstContext. 

The cleanest way I can think to implement this is by adding an additional 
constructor param and requiring the user extend RequestFactoryServlet like 
they already do with ServiceLayerDecorator

The other option I considered was allowing them to specify a default Locator 
in web.xml, but that either becomes a much bigger patch or involves a static 
variable in RequestFactoryServlet being referenced by LocatorServiceLayer. 

What do you think? 


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

Reply via email to