fmgasparino / google-gin

Automatically exported from code.google.com/p/google-gin
Apache License 2.0
0 stars 0 forks source link

Problem creating a RequestFactoryProvider #151

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a requestfactory interface (AppReqFactory extends RequestFactory)
2. Create a Ginjector that exposes it
3. Create a module with the that injector and compile

(Example code: 
http://code-omen.blogspot.com/2010/11/gwt-requestfactory-and-gin.html)

When trying to compile get the following error:

Compiling module xxx.gwt.Application
  Scanning for additional dependencies: file:xxx/gwt/client/AppMainModule.java
  Computing all possible rebind results for 'xxx.gwt.AppReqFactory'
    The method public boolean equals(java.lang.Object other) is neither a getter nor a setter
    The method protected void finalize() throws java.lang.Throwable is neither a getter nor a setter
    The method public boolean equals(java.lang.Object other) is neither a getter nor a setter
    The method protected void finalize() throws java.lang.Throwable is neither a getter nor a setter
    Invalid Request parameterization java.lang.Class
    The method public int hashCode() is neither a getter nor a setter
    The method public java.lang.String toString() is neither a getter nor a setter
    Invalid Request parameterization java.lang.Class
    The method public boolean equals(java.lang.Object other) is neither a getter nor a setter
    The method protected void finalize() throws java.lang.Throwable is neither a getter nor a setter
    Invalid Request parameterization java.lang.Class
    The method public int hashCode() is neither a getter nor a setter
    The method public java.lang.String toString() is neither a getter nor a setter
    The method public int hashCode() is neither a getter nor a setter
    The method public java.lang.String toString() is neither a getter nor a setter
    Unable to create RequestFactoryModel model due to previous errors
    Errors in 'file:xxx/gwt/client/AppMainModule.java' Line 30:  Failed to resolve 'xxx.AppReqFactory' via deferred binding

I'm using gwt-2.2 with gin 1.5-post-gwt-2.2

Original issue reported on code.google.com by valo...@gmail.com on 26 Apr 2011 at 10:35

GoogleCodeExporter commented 9 years ago
After some examination, it seems that the problem does not have to do with the 
requestfactory binding but the proxy interfaces (entity proxies or value 
proxies) that the requestfactory use.

Original comment by valo...@gmail.com on 27 Apr 2011 at 7:55

GoogleCodeExporter commented 9 years ago
If I understand this correctly the problem is solved and I can close this 
issue. If that is not correct please reply with more information.

Original comment by aragos on 28 Apr 2011 at 2:20

GoogleCodeExporter commented 9 years ago
Yes the problem doesn't have to do with google-gin!

Original comment by valo...@gmail.com on 29 Apr 2011 at 4:58