org.objectweb.carol.cmi
Class DistributedEquiv

java.lang.Object
  extended byorg.objectweb.carol.cmi.DistributedEquiv

public final class DistributedEquiv
extends java.lang.Object

Manage equivalences between objects in the cluster. Two objects are equivalent if their keys have the same value (key1.equals(key2)). The keys prefixed with "REG_" are reserved by the RegistryImpl. No other module should generate such keys.

Author:
Simon Nieuviarts

Constructor Summary
DistributedEquiv()
           
 
Method Summary
static DistributedEquiv start()
          The first one which calls this method starts the DistributedEquiv system.
 void stop()
          Terminate the Distributed Equivalent System
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistributedEquiv

public DistributedEquiv()
Method Detail

start

public static DistributedEquiv start()
                              throws ServerConfigException
The first one which calls this method starts the DistributedEquiv system. It can be the only one to stop it with the ref it gets.

Returns:
Distributed Equivalent System
Throws:
ServerConfigException - if exception is encountered

stop

public void stop()
          throws ServerConfigException
Terminate the Distributed Equivalent System

Throws:
ServerConfigException, - if error during stopping
ServerConfigException