Reviewers: rjrjr,
Message:
Follow-on changes:
- Make ServiceLayerCache build itself reflectively; it's really
obnoxious to update that type.
- Fully separate the Deobfuscator API from RFIV to allow unused state
to be jettisoned and remove the need for synchronization.
- Add an annotation to allow the unobfuscated RequestFactory interface
name to be removed in exchange for explicit registration of RF types on
the server.
Description:
Support RequestContext composition (issue 6234) and mix-in (issue 6035).
Remove no-method-overloads restriction by using a full method descriptor
to
create the operation.
Use obfuscated type and operation tokens to reduce payload and JS size
(issue
5394). Without this change, the operation tokens can be excessively
lengthy. The RequestFactory interface is used as the "gwt.rpc" analog.
Patch by: bobv
Review by: rjrjr
Please review this at http://gwt-code-reviews.appspot.com/1447815/
Affected files:
M
user/src/com/google/web/bindery/requestfactory/gwt/rebind/RequestFactoryGenerator.java
M
user/src/com/google/web/bindery/requestfactory/gwt/rebind/model/RequestFactoryModel.java
M
user/src/com/google/web/bindery/requestfactory/gwt/rebind/model/RequestMethod.java
A
user/src/com/google/web/bindery/requestfactory/server/FindServiceLayer.java
M
user/src/com/google/web/bindery/requestfactory/server/LocatorServiceLayer.java
M
user/src/com/google/web/bindery/requestfactory/server/RequestFactoryInterfaceValidator.java
M
user/src/com/google/web/bindery/requestfactory/server/ResolverServiceLayer.java
M user/src/com/google/web/bindery/requestfactory/server/ServiceLayer.java
M
user/src/com/google/web/bindery/requestfactory/server/ServiceLayerCache.java
M
user/src/com/google/web/bindery/requestfactory/server/ServiceLayerDecorator.java
M
user/src/com/google/web/bindery/requestfactory/server/SimpleRequestProcessor.java
A
user/src/com/google/web/bindery/requestfactory/server/impl/OperationKey.java
M
user/src/com/google/web/bindery/requestfactory/shared/impl/AbstractRequestContext.java
M
user/src/com/google/web/bindery/requestfactory/shared/impl/AbstractRequestFactory.java
M
user/src/com/google/web/bindery/requestfactory/shared/impl/Constants.java
M
user/src/com/google/web/bindery/requestfactory/shared/messages/RequestMessage.java
M
user/src/com/google/web/bindery/requestfactory/vm/InProcessRequestContext.java
M
user/src/com/google/web/bindery/requestfactory/vm/InProcessRequestFactory.java
M
user/src/com/google/web/bindery/requestfactory/vm/RequestFactorySource.java
M
user/test/com/google/web/bindery/requestfactory/gwt/client/RequestFactoryTest.java
M user/test/com/google/web/bindery/requestfactory/server/SimpleFoo.java
M
user/test/com/google/web/bindery/requestfactory/shared/ServiceInheritanceTest.java
M
user/test/com/google/web/bindery/requestfactory/shared/SimpleFooRequest.java
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors