return LocateRegistry.createRegistry(port);
nonSecServerSocketFactory = new SFServerSocketFactory(bindAddr); return LocateRegistry.createRegistry(port,null,nonSecServerSocketFactory);
    public static Registry createRegistry(int port) throws RemoteException {        if (isSecurityOn()) {            return LocateRegistry.createRegistry(port,                securityEnv.getEmptyRMIClientSocketFactory(),                securityEnv.getRMIServerSocketFactory());        } else {            return LocateRegistry.createRegistry(port);        }    }