How can I cache RequestFactory data on client side?
Is there a part of RequestFactory
classes I can override to provide automatic c开发者_如何学编程aching for some requests? I could cache outside RF, of course, but I'd like to do it via overriding to be totally invisible.
The ServiceLayer.invoke() method could be patched via the ServiceLayerDecorator
chain. It's called from SimpleRequestProcessor.processInvocationMessages()
after all of the OperationMessages have been applied.
精彩评论