question: void bind ( String jndiUrl , Hashtable < ? , ? > attributes , RMIServer rmiServer , boolean rebind ) throws NamingException , MalformedURLException { InitialContext ctx = new InitialContext ( attributes ) ; if ( rebind ) ctx . rebind ( jndiUrl , rmiServer ) ; else ctx . bind ( jndiUrl , rmiServer ) ; ctx . close ( ) ; }
target:  Bind a stub to a registry.