org.objectweb.carol.cmi

Class ClusterRegistryClient

Implemented Interfaces:
ClusterRegistry, Registry

public class ClusterRegistryClient
extends java.lang.Object
implements ClusterRegistry

Client code for a cluster registry

Fields inherited from interface org.objectweb.carol.cmi.ClusterRegistry

DEFAULT_PORT

Constructor Summary

ClusterRegistryClient(ClusterRegistryInternal cr)

Method Summary

void
bind(String name, Remote obj)
String[]
list()
Remote
lookup(String name)
void
rebind(String name, Remote obj)
void
test()
void
unbind(String name)

Constructor Details

ClusterRegistryClient

public ClusterRegistryClient(ClusterRegistryInternal cr)
            throws RemoteException

Method Details

bind

public void bind(String name,
                 Remote obj)
            throws AlreadyBoundException,
                   RemoteException


list

public String[] list()
            throws RemoteException


lookup

public Remote lookup(String name)
            throws NotBoundException,
                   RemoteException


rebind

public void rebind(String name,
                   Remote obj)
            throws RemoteException


test

public void test()
            throws RemoteException
Specified by:
test in interface ClusterRegistry


unbind

public void unbind(String name)
            throws NotBoundException,
                   RemoteException