http://gwt-code-reviews.appspot.com/1130801/diff/1/10
File
user/src/com/google/gwt/requestfactory/server/LocatorServiceLayer.java
(right):

http://gwt-code-reviews.appspot.com/1130801/diff/1/10#newcode146
user/src/com/google/gwt/requestfactory/server/LocatorServiceLayer.java:146:
Locator<?, ?> locator = (Locator<?, ?>) locatorType.newInstance();
Couldn't this be deferred to a LocatorProvider (or whichever its name)?
or at least to an overridable method (and the class made accessible), so
that it's possible to get a Locator instance from Spring or Guice? (for
instance to have the EntityManager injected instead of accessed through
a static method a provider object)

http://gwt-code-reviews.appspot.com/1130801/show

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

Reply via email to