Uses of Interface
java.rmi.registry.Registry
-
Packages that use Registry Package Description java.rmi.registry Provides a class and two interfaces for the RMI registry. -
-
Uses of Registry in java.rmi.registry
Methods in java.rmi.registry that return Registry Modifier and Type Method Description static RegistryLocateRegistry. createRegistry(int port)Creates and exports aRegistryinstance on the local host that accepts requests on the specifiedport.static RegistryLocateRegistry. createRegistry(int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)Creates and exports aRegistryinstance on the local host that uses custom socket factories for communication with that instance.static RegistryLocateRegistry. getRegistry()Returns a reference to the remote objectRegistryfor the local host on the default registry port of 1099.static RegistryLocateRegistry. getRegistry(int port)Returns a reference to the remote objectRegistryfor the local host on the specifiedport.static RegistryLocateRegistry. getRegistry(String host)Returns a reference to the remote objectRegistryon the specifiedhoston the default registry port of 1099.static RegistryLocateRegistry. getRegistry(String host, int port)Returns a reference to the remote objectRegistryon the specifiedhostandport.static RegistryLocateRegistry. getRegistry(String host, int port, RMIClientSocketFactory csf)Returns a locally created remote reference to the remote objectRegistryon the specifiedhostandport.RegistryRegistryHandler. registryImpl(int port)Deprecated.no replacement. As of the Java 2 platform v1.2, RMI no longer uses theRegistryHandlerto obtain the registry's implementation.RegistryRegistryHandler. registryStub(String host, int port)Deprecated.no replacement. As of the Java 2 platform v1.2, RMI no longer uses theRegistryHandlerto obtain the registry's stub.
-