|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface implemented by UniVMRegistry and used by Registrar to add objects to the UniVMRegistry in the UniVMRegistry's VM. There should be no reason to use this interface directly. Use Registrar to add objects to the UniVMRegistry.
Registrar
Method Summary | |
void |
bind(java.lang.String name,
java.rmi.Remote object)
Binds the name to the specified remote object. |
void |
bind(java.lang.String label,
java.lang.String className)
Binds a Remote object created from the class className in the rmiregistry. |
java.lang.String[] |
list()
Returns an array of the names in the registry. |
void |
rebind(java.lang.String name,
java.rmi.Remote object)
Binds a Remote object created from the class className in the rmiregistry. |
void |
rebind(java.lang.String label,
java.lang.String className)
Binds a Remote object created from the class className in the rmiregistry. |
Method Detail |
public void bind(java.lang.String name, java.rmi.Remote object) throws java.rmi.RemoteException, java.rmi.AlreadyBoundException
public void bind(java.lang.String label, java.lang.String className) throws java.rmi.RemoteException, java.rmi.AlreadyBoundException
className
- Full class name, used to create remote object.
Class must implement java.rmi.Remote.name
- Name to which object is boundpublic void rebind(java.lang.String label, java.lang.String className) throws java.rmi.RemoteException
className
- Full class name, used to create remote object.
Class must implement java.rmi.Remote.name
- Name to which object is boundpublic void rebind(java.lang.String name, java.rmi.Remote object) throws java.rmi.RemoteException
object
- Remote object which is bound.name
- Name to which object is bound.public java.lang.String[] list() throws java.rmi.RemoteException, java.rmi.AccessException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |