Results 1 to 1 of 1

Thread: Problem with apect method gwt serialization

  1. #1
    Join Date
    Mar 2011
    Posts
    10

    Default 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){
    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
    Last edited by paulux; Nov 26th, 2011 at 06:47 AM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •