开发者

Use pojo as gwt RequestFactory proxy instead of interface

开发者 https://www.devze.com 2023-03-13 07:20 出处:网络
Is there any easy way to use a pojo as a request factory proxy and not an interface? The case is that I would like to reuse the actual value object as is without creating an interface describing it.

Is there any easy way to use a pojo as a request factory proxy and not an interface? The case is that I would like to reuse the actual value object as is without creating an interface describing it.

I do not that this can not be done out of the box. GWT fails to compile wi开发者_如何学编程th an error regarding non getter/setter methods insite the "proxy" class.


This not possible, by design. See this previous StackOverflow answer.

0

精彩评论

暂无评论...
验证码 换一张
取 消