API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.rmi. Naming View Source
Author(s)
Ann Wollrath
Roger Riggs
Since
JDK1.1
Version
1.13, 09/05/99
Serial
Hierarchy
 Object
      Naming
Implements
Subclasses
Description
publicfinal class Naming
  The Naming class provides methods for storing and obtaining references to remote objects in a remote object registry.
Constructors
private Naming ()
Disallow anyone from creating one of these
Methods
Hide/Show inherited methods
publicstatic void bind (String name, Remote obj) throws AlreadyBoundException MalformedURLException RemoteException
  Binds the specified name to a remote object.
publicstatic String list (String name) throws RemoteException MalformedURLException
  Returns an array of the names bound in the registry.
publicstatic Remote lookup (String name) throws NotBoundException MalformedURLException RemoteException
  Returns a reference, a stub, for the remote object associated with the specified name.
publicstatic void rebind (String name, Remote obj) throws RemoteException MalformedURLException
  Rebinds the specified name to a new remote object.
publicstatic void unbind (String name) throws RemoteException NotBoundException MalformedURLException
  Destroys the binding for the specified name that is associated with a remote object.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar