java.lang.Object
com.aoapps.hodgepodge.rmi.RegistryManager
Controls the Registry, making sure only one registry is created per port.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Registry
createRegistry
(int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf) Creates a registry or returns the registry that is already using the port.
-
Method Details
-
createRegistry
public static Registry createRegistry(int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf) throws RemoteException Creates a registry or returns the registry that is already using the port.- Throws:
RemoteException
-