org.objectweb.carol.cmi
Class ClusterRegistryClient
java.lang.Object
org.objectweb.carol.cmi.ClusterRegistryClient
- All Implemented Interfaces:
- ClusterRegistry, java.rmi.registry.Registry, java.rmi.Remote
- public class ClusterRegistryClient
- extends java.lang.Object
- implements ClusterRegistry
Client code for a cluster registry
Fields inherited from interface java.rmi.registry.Registry |
REGISTRY_PORT |
Method Summary |
void |
bind(java.lang.String name,
java.rmi.Remote obj)
|
java.lang.String[] |
list()
|
java.rmi.Remote |
lookup(java.lang.String name)
|
void |
rebind(java.lang.String name,
java.rmi.Remote obj)
|
void |
test()
|
void |
unbind(java.lang.String name)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClusterRegistryClient
public ClusterRegistryClient(ClusterRegistryInternal cr)
throws java.rmi.RemoteException
list
public java.lang.String[] list()
throws java.rmi.RemoteException
- Specified by:
list
in interface java.rmi.registry.Registry
- Throws:
java.rmi.RemoteException
test
public void test()
throws java.rmi.RemoteException
- Specified by:
test
in interface ClusterRegistry
- Throws:
java.rmi.RemoteException
lookup
public java.rmi.Remote lookup(java.lang.String name)
throws java.rmi.NotBoundException,
java.rmi.RemoteException
- Specified by:
lookup
in interface java.rmi.registry.Registry
- Throws:
java.rmi.NotBoundException
java.rmi.RemoteException
bind
public void bind(java.lang.String name,
java.rmi.Remote obj)
throws java.rmi.AlreadyBoundException,
java.rmi.RemoteException
- Specified by:
bind
in interface java.rmi.registry.Registry
- Throws:
java.rmi.AlreadyBoundException
java.rmi.RemoteException
rebind
public void rebind(java.lang.String name,
java.rmi.Remote obj)
throws java.rmi.RemoteException
- Specified by:
rebind
in interface java.rmi.registry.Registry
- Throws:
java.rmi.RemoteException
unbind
public void unbind(java.lang.String name)
throws java.rmi.NotBoundException,
java.rmi.RemoteException
- Specified by:
unbind
in interface java.rmi.registry.Registry
- Throws:
java.rmi.NotBoundException
java.rmi.RemoteException