Name
RemoteStub
Synopsis
All client stub classes generated by the rmic
compiler are derived from this abstract class. A client receives a
RemoteStub
when it successfully looks up a remote
object through the RMI registry. A client stub serves as a client
interface to the remote object it references, converting method calls
on its interface into remote method invocations on the remote object
implementation.
public abstract class RemoteStub extends RemoteObject { // Protected Constructors protected RemoteStub(); protected RemoteStub( RemoteRef ref); // Deprecated Protected Methods protected static void setRef(RemoteStub stub, // # RemoteRef ref); }
Subclasses
java.rmi.activation.ActivationGroup_Stub
Passed To
RemoteStub.setRef()
Returned By
ServerRef.exportObject()
, UnicastRemoteObject.exportObject()
Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.