Saturday, February 26, 2011

Method Reference Delegate or so

Hi all,

I'm looking for a solution how to transport a method reference. Usecase is to wrap some async method calls and only have one success handler after all are doen.

E.g. I want something like this (which would easily possible in JS):

Requestor req = new Requestor();
req.add(Foo.method, param, param);
req.add(Bar.method, param); SimpleMethodCallback<JSONValue>() {
    public void onSuccess() {
    // ...

Someone has a solution how to accomplish this?

Thanks in advance,

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment