public class DefaultRMIRegistryService extends java.lang.Object implements RMIRegistryService
RMIRegistryService hooking in to the spring lifecycle.| Constructor and Description |
|---|
DefaultRMIRegistryService() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroy method to be called to free up resources (shutting down underlying
Registry). |
java.lang.String |
getLoopback() |
java.net.InetAddress |
getLoopbackAddress()
The local (loopback) address to use for communication.
|
int |
getPort()
The local port of the exposed
Registry. |
java.rmi.registry.Registry |
getRegistry()
The actual
Registry. |
void |
init()
Init method to be called after instantiation to pull up the
Registry implementation. |
void |
setLoopback(java.lang.String loopback)
Sets the loopback address to use, i.e.
|
void |
setPort(int port)
Sets the port to use, i.e.
|
public int getPort()
Registry.getPort in interface RMIRegistryServiceRMIRegistryService.getPort()public void setPort(int port)
os.rmiregistry.port" system
property on startup.port - the port number, e.g 4321public java.lang.String getLoopback()
public void setLoopback(java.lang.String loopback)
null, the JVM will automatically pick the local loopback address.loopback - local loopback address (e.g. '127.0.0.1')public java.rmi.registry.Registry getRegistry()
Registry.getRegistry in interface RMIRegistryServiceRegistryRMIRegistryService.getRegistry()public void init()
Registry implementation.public void destroy()
Registry).public java.net.InetAddress getLoopbackAddress()
RMIRegistryServicegetLoopbackAddress in interface RMIRegistryServiceCopyright © 2018 SAP SE. All Rights Reserved.