CONTENTS | PREV | NEXT | Java Remote Method Invocation |
The interface RegistryHandler is used to interface to the private implementation.package java.rmi.registry;The method
public interface RegistryHandler {
Registry registryStub(String host, int port)
throws java.rmi.RemoteException,
java.rmi.UnknownHostException;
Registry registryImpl(int port)
throws java.rmi.RemoteException;
}registryStub
returns a stub for contacting a remote registry on the specified host and port.The method
registryImpl
constructs and exports a registry on the specified port. The port must be nonzero.