Hi There
I would like to share the same RequestContext over multiple services
so that I can use the standard mechanism for bundling multiple calls
to multiple services as follows:
//--------------------------------
ServiceARequest requestA = requestFactory.serviceARequest();
ServiceBRequest requestB = requestFactory.serviceBRequest();
requestA.getA1().to(LOG_RECEIVER);
requestA.getA2().to(LOG_RECEIVER);
requestB.getB1().to(LOG_RECEIVER);
requestB.getB2().to(LOG_RECEIVER);
requestA.fire(new Receiver<Void>() {
@Override
public void onSuccess(Void response) {
GWT.log("End of request");
}
});
//--------------------------------
>From what I have seen there is no standard machanism in GWT to do
this. Has anybody perhaps had the same requirement and found a way
around this, or could somebody perhaps out of the top of their head
point me in the right direction?
Regards,
Charl
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.