CONTENTS | PREV | NEXT | Java Remote Method Invocation |
The following methods are declared final by the Object class and cannot be overridden:
The default implementation forgetClass
is appropriate for all Java objects, local or remote; the method needs no special implementation for remote objects. When used on a remote object, thegetClass
method reports the exact type of the generated stub object. Note that this type reflects only the remote interfaces implemented by the object, not its local interfaces.The
wait
andnotify
methods of Object deal with waiting and notification in the context of the Java language's threading model. While use of these methods for remote objects does not break the Java threading model, these methods do not have the same semantics as they do for local Java objects. Specifically, using these methods operates on the client's local reference to the remote object (the stub), not the actual object at the remote site.