[2003] in java-interest
re:[Q] protocol of an object
daemon@ATHENA.MIT.EDU (andrew (a.) francis)
Thu Sep 21 15:25:01 1995
Date: Thu, 21 Sep 1995 11:41:00 -0400
From: "andrew (a.) francis" <andrewfr@bnr.ca>
To: java-interest@java.sun.com
In message "[Q] protocol of an object", you write:
> I'm writing on a thesis about travelling objects [8-O], and I was
> thinking about using Java for implementing a prototype...
>
> Now I need a method that delivers dynamically (and at runtime)
> all public methods of an object.
>
> I already did try ObjectScope, but it didn't work.
Arthy, use the ClassLoader to deliver the class of the object that
you want to send to another machine. I have found that the Java documentation,
the WWWClassLoader and Charles McManis' posts on "Secrets of the ClassLoader"
to be extremely useful. That said, ObjectScope(), which I started to
play with and have not quite figured out, seems useful for getting at
the state of an object.
Cheers,
Andrew
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com