src/main/java/pityoulish/jrmi/server/Main.java
public static Registry createDefaultRegistry(int port)
    throws RemoteException
  {
    System.out.println(Catalog.REPORT_CREATE_REGISTRY_1.format
                       (String.valueOf(port)));

    return LocateRegistry.createRegistry(port);
  }
/**
   * Creates an RMI registry running in the current JVM.
   *
   * @param port   the port on which the registry should listen
   *
   * @return the new, local registry
   *
   * @throws RemoteException  in case of a <i>local</i> problem
   */
Creates an RMI registry running in the current JVM.
@param port   the port on which the registry should listen

@return the new, local registry

@throws RemoteException  in case of a local problem
Creates an RMI registry running in the current JVM . @param port the port on which the registry should listen @return the new local registry @throws RemoteException in case of a local problem
public static Registry createDefaultRegistry(int port)
    throws RemoteException
  {
    System.out.println(Catalog.REPORT_CREATE_REGISTRY_1.format
                       (String.valueOf(port)));
    return LocateRegistry.createRegistry(port);
  }
public static Registry createDefaultRegistry ( int port ) throws RemoteException { System . out . println ( Catalog . REPORT_CREATE_REGISTRY_1 . format ( String . valueOf ( port ) ) ) ; return LocateRegistry . createRegistry ( port ) ; }
Creates an RMI registry running in the current JVM.
Creates an RMI registry running in the current JVM .