Remote objects which implement the
- See Also:
- Nameable, bindNameable
-
bindName(String, String)
-
This method stores a mapping between the name and the information.
-
bindNameable(Object, Nameable)
-
This method stores a mapping between the key and a
-
lookupName(String)
- This method looks up a binding on the server
-
lookupNameable(Object)
- This method looks up a binding on the server
-
rebindName(String, String)
-
This method allows atomic modification of a previously bound
name.
-
rebindNameable(Object, Nameable)
-
This method allows atomic modification of a previously bound
name.
-
unBindName(String)
-
This method removes a binding from the server.
-
unBindNameable(Object)
-
This method removes a binding from the server.
bindName
public abstract void bindName(String name,
String information) throws RemoteException, AlreadyBoundException
- This method stores a mapping between the name and the information.
An example of usage for this would be to map a help file to
a URL. Specifically if a particular help file called "Main Help"
is constantly changing and being moved around, then it could
be mapped, using the naming service, to a particular URL (say,
"http://www.cs.cmu.edu/~freddy/class/owl/mainhelp.html") This is
most useful for debugging purposes where files and servers may
exist on any of a number of machines.
rebindName
public abstract void rebindName(String name,
String newInformation) throws RemoteException
- This method allows atomic modification of a previously bound
name. This is preferable to the sequence of: 1) unBind(), 2) bind()
since rebind is atomic.
unBindName
public abstract void unBindName(String name) throws RemoteException, NoBindingException
- This method removes a binding from the server.
lookupName
public abstract String lookupName(String name) throws RemoteException, NoBindingException
- This method looks up a binding on the server
bindNameable
public abstract void bindNameable(Object key,
Nameable target) throws RemoteException, AlreadyBoundException, NotAccessibleException
- This method stores a mapping between the key and a
- See Also:
- Nameable, Nameable
rebindNameable
public abstract void rebindNameable(Object key,
Nameable newTarget) throws RemoteException, NotAccessibleException
- This method allows atomic modification of a previously bound
name. This is preferable to the sequence of: 1) unBind(), 2) bind()
since rebind is atomic.
unBindNameable
public abstract void unBindNameable(Object key) throws RemoteException, NoBindingException
- This method removes a binding from the server.
lookupNameable
public abstract Nameable lookupNameable(Object key) throws RemoteException, NoBindingException
- This method looks up a binding on the server
All Packages Class Hierarchy This Package Previous Next Index