java.rmi.registry
public final class LocateRegistry extends Object
Modifier and Type | Method and Description |
---|---|
static Registry |
createRegistry(int port) |
static Registry |
createRegistry(int port,
RMIClientSocketFactory csf,
RMIServerSocketFactory ssf) |
static Registry |
getRegistry() |
static Registry |
getRegistry(int port) |
static Registry |
getRegistry(String host) |
static Registry |
getRegistry(String host,
int port) |
static Registry |
getRegistry(String host,
int port,
RMIClientSocketFactory csf) |
public static Registry getRegistry() throws RemoteException
RemoteException
public static Registry getRegistry(int port) throws RemoteException
RemoteException
public static Registry getRegistry(String host) throws RemoteException
RemoteException
public static Registry getRegistry(String host, int port) throws RemoteException
RemoteException
public static Registry getRegistry(String host, int port, RMIClientSocketFactory csf) throws RemoteException
RemoteException
public static Registry createRegistry(int port) throws RemoteException
RemoteException
public static Registry createRegistry(int port, RMIClientSocketFactory csf, RMIServerSocketFactory ssf) throws RemoteException
RemoteException