Monday, November 28, 2011

Serialize aspectj method in GWT

I've try to expose to the client(gwt) an aspectJ method through gwt-
rpc, but the gwt client can't find the method defined in an aspect.
The class that i expose implements IsSerializable and only it's method
are visible to the client interface...the method added by their aspect
contrariwise no. How i can fix this? thanks in advice.

p.s. i post a little example for more clarity:

this is the class...

public class Example implements IsSerializable{

private String name;

public setName(String name){
this.name=name
}
}
and this is the aspect...

privileged aspect Example_x{

public int Example.getVersion() {
return this.version;
}
}
The Example.getVersion() method is unavailable on the client side.

TNX

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment