Uses of Interface
java.rmi.registry.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 Registry
LocateRegistry. createRegistry(int port)
Creates and exports aRegistry
instance on the local host that accepts requests on the specifiedport
.static Registry
LocateRegistry. createRegistry(int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)
Creates and exports aRegistry
instance on the local host that uses custom socket factories for communication with that instance.static Registry
LocateRegistry. getRegistry()
Returns a reference to the remote objectRegistry
for the local host on the default registry port of 1099.static Registry
LocateRegistry. getRegistry(int port)
Returns a reference to the remote objectRegistry
for the local host on the specifiedport
.static Registry
LocateRegistry. getRegistry(String host)
Returns a reference to the remote objectRegistry
on the specifiedhost
on the default registry port of 1099.static Registry
LocateRegistry. getRegistry(String host, int port)
Returns a reference to the remote objectRegistry
on the specifiedhost
andport
.static Registry
LocateRegistry. getRegistry(String host, int port, RMIClientSocketFactory csf)
Returns a locally created remote reference to the remote objectRegistry
on the specifiedhost
andport
.Registry
RegistryHandler. registryImpl(int port)
Deprecated.no replacement.Registry
RegistryHandler. registryStub(String host, int port)
Deprecated.no replacement.