Package com.aoindustries.rmi
Class RegistryManager
- java.lang.Object
-
- com.aoindustries.rmi.RegistryManager
-
public final class RegistryManager extends Object
Controls the Registry, making sure only one registry is created per port.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RegistrycreateRegistry(int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf)Creates a registry or returns the registry that is already using the port.
-
-
-
Method Detail
-
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
-
-