Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有简单的方法可以将 pojo 用作请求工厂代理而不是接口?情况是我想按原样重用实际的值对象,而不创建描述它的接口。
我不认为这不能开箱即用。GWT 编译失败,出现关于“代理”类中的非 getter/setter 方法的错误。
这是不可能的,设计使然。请参阅此以前的 StackOverflow 答案。