Announcement Announcement Module
No announcement yet.
Problem with apect method gwt serialization Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem with apect method gwt serialization

    Hi all.
    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){
    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.

    Last edited by paulux; Nov 26th, 2011, 06:47 AM.