What is difference between bind and rebind?

Jorge Jordão

  • bind(String name, Object obj) will throw an AlreadyBoundException if there's already an object bound to that name within the rmiregistry. If there was no match, the object will be bound to the name within the registry.
  • rebind(String name, Object obj) will replace any existing binding for the name within rmiregistry. If there was no match, the object will be bound to the name within the registry as usual.
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact