|CONTENTS | PREV | NEXT||Java Remote Method Invocation|
The following methods are declared final in the java.lang.Object class and therefore cannot be overridden by any implementation:
The default implementation for
getClassis appropriate for all Java objects, local or remote; so, the method needs no special implementation for remote objects. When used on a remote stub, the
getClassmethod reports the exact type of the stub object, generated by rmic. Note that stub type reflects only the remote interfaces implemented by the remote object, not that object's local interfaces.
notifymethods of java.lang.Object deal with waiting and notification in the context of the Java language's threading model. While use of these methods for remote stubs 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.