Re: need Help in reflect an RMI object
- From: EJP <esmond.not.pitt@xxxxxxxxxxxxxxx>
- Date: Thu, 28 Sep 2006 00:14:15 GMT
fAnSKyer wrote:
I want to reflect an RMI object. and save the values of each variable
using field.
However I can only get the interface of the RMI object.
If I reflect the interface, I can't get the what I need. But I don't
know how to reflect the RMI object.
You can only do that from inside the JVM where the remote object was exported from, because that's where the variables are, and you need a reference to the actual object, not to the stub.
If you're in another JVM and all you have is the stub, all you can usefully do is call remote methods on the stub, and you don't need reflection for that.
.
- Follow-Ups:
- Re: need Help in reflect an RMI object
- From: fAnSKyer
- Re: need Help in reflect an RMI object
- References:
- need Help in reflect an RMI object
- From: fAnSKyer
- need Help in reflect an RMI object
- Prev by Date: Re: RMI thru Internet
- Next by Date: Re: hashtable - select by wilecard... is it doable?
- Previous by thread: need Help in reflect an RMI object
- Next by thread: Re: need Help in reflect an RMI object
- Index(es):