On 5 déc, 01:06, Simon Majou <[email protected]> wrote: > When creating an object with RequestFactory the @inject fields are not > injected. I guess RequestFactory don't use guice to create the > objects. How can I delegate objects creation to Guice?
"Just" wait for the 2.1.1 release and then implement a ServiceLayerDecorator. See http://code.google.com/p/google-web-toolkit/wiki/RequestFactory_2_1_1 and http://code.google.com/p/google-web-toolkit/source/browse/releases/2.1/user/src/com/google/gwt/requestfactory/server/ServiceLayerDecorator.java Javadoc for each method can be find in the ServiceLayer class: http://code.google.com/p/google-web-toolkit/source/browse/releases/2.1/user/src/com/google/gwt/requestfactory/server/ServiceLayer.java -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
