|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.objectweb.carol.cmi.RegistryClient
Client code for a cluster registry
| Field Summary |
| Fields inherited from interface org.objectweb.carol.cmi.Registry |
DEFAULT_PORT |
| Fields inherited from interface java.rmi.registry.Registry |
REGISTRY_PORT |
| Constructor Summary | |
RegistryClient(org.objectweb.carol.cmi.RegistryInternal cr)
Constructor |
|
| Method Summary | |
void |
bind(java.lang.String name,
java.rmi.Remote obj)
Bind an entry |
java.lang.String[] |
list()
Get the entries list |
java.rmi.Remote |
lookup(java.lang.String name)
Retrieve an object by a name |
void |
rebind(java.lang.String name,
java.rmi.Remote obj)
Rebind an entry |
void |
test()
Test |
void |
unbind(java.lang.String name)
Unbind an entry |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RegistryClient(org.objectweb.carol.cmi.RegistryInternal cr)
throws java.rmi.RemoteException
cr - client registry
java.rmi.RemoteException - if exception| Method Detail |
public java.lang.String[] list()
throws java.rmi.RemoteException
list in interface java.rmi.registry.Registryjava.rmi.RemoteException - if Exception is encountered
public void test()
throws java.rmi.RemoteException
test in interface Registryjava.rmi.RemoteException - if Exception is encountered
public java.rmi.Remote lookup(java.lang.String name)
throws java.rmi.NotBoundException,
java.rmi.RemoteException
lookup in interface java.rmi.registry.Registryname - name to search
java.rmi.NotBoundException - if entry is not found
java.rmi.RemoteException - if an exception is encountered
public void bind(java.lang.String name,
java.rmi.Remote obj)
throws java.rmi.AlreadyBoundException,
java.rmi.RemoteException
bind in interface java.rmi.registry.Registryname - nameobj - object
java.rmi.AlreadyBoundException - if the entry is already bound
java.rmi.RemoteException - if an exception is encountered
public void rebind(java.lang.String name,
java.rmi.Remote obj)
throws java.rmi.RemoteException
rebind in interface java.rmi.registry.Registryname - nameobj - object
java.rmi.RemoteException - if an exception is encountered
public void unbind(java.lang.String name)
throws java.rmi.NotBoundException,
java.rmi.RemoteException
unbind in interface java.rmi.registry.Registryname - entry to unregister
java.rmi.NotBoundException - if entry is not found
java.rmi.RemoteException - if an exception is encountered
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||