src/main/java/pityoulish/jrmi/client/RegistryBackendHandlerImpl.java
public synchronized Registry ensureRegistry()
    throws RemoteException
  {
    if (rmiRegistry == null)
     {
       // PYL:keep
       Missing.here("locate the RMI registry running on the server");
       // ...and store it in the rmiRegistry attribute.
       // The host and port of the registry are given on the command line.
       // Both values are provided by the base class.
       // PYL:cut
       // obtain a stub for the RMI registry on the server
       rmiRegistry = LocateRegistry.getRegistry(hostName, portNumber);
       // PYL:end
     }

    return rmiRegistry;
  }
/**
   * Looks up the RMI registry, if not already done.
   *
   * @return the registry
   *
   * @throws RemoteException    in case of a problem
   */
Looks up the RMI registry, if not already done.
@return the registry

@throws RemoteException    in case of a problem
Looks up the RMI registry if not already done . @return the registry @throws RemoteException in case of a problem
public synchronized Registry ensureRegistry()
    throws RemoteException
  {
    if (rmiRegistry == null)
     {
       Missing.here("locate the RMI registry running on the server");
       rmiRegistry = LocateRegistry.getRegistry(hostName, portNumber);
     }
    return rmiRegistry;
  }
public synchronized Registry ensureRegistry ( ) throws RemoteException { if ( rmiRegistry == null ) { Missing . here ( "locate the RMI registry running on the server" ) ; rmiRegistry = LocateRegistry . getRegistry ( hostName , portNumber ) ; } return rmiRegistry ; }
Looks up the RMI registry, if not already done.
Looks up the RMI registry if not already done .
// PYL:keep // ...and store it in the rmiRegistry attribute. // The host and port of the registry are given on the command line. // Both values are provided by the base class. // PYL:cut // obtain a stub for the RMI registry on the server // PYL:end