org.objectweb.carol.cmi
Class ClusterRegistryImpl
java.lang.Object
org.objectweb.carol.cmi.ClusterRegistryImpl
- All Implemented Interfaces:
- ClusterRegistryInternal, java.rmi.Remote
- public final class ClusterRegistryImpl
- extends java.lang.Object
- implements ClusterRegistryInternal
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REG_PREFIX
public static final java.lang.String REG_PREFIX
- See Also:
- Constant Field Values
start
public static ClusterRegistryKiller start(int port)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
lookup
public java.lang.Object lookup(java.lang.String n)
throws java.rmi.NotBoundException,
java.rmi.RemoteException
- Specified by:
lookup
in interface ClusterRegistryInternal
- Throws:
java.rmi.NotBoundException
java.rmi.RemoteException
bindSingle
public void bindSingle(java.lang.String n,
java.rmi.Remote obj)
throws java.rmi.AlreadyBoundException,
java.rmi.RemoteException
- Specified by:
bindSingle
in interface ClusterRegistryInternal
- Throws:
java.rmi.AlreadyBoundException
java.rmi.RemoteException
rebindSingle
public void rebindSingle(java.lang.String n,
java.rmi.Remote obj)
throws java.rmi.RemoteException
- Specified by:
rebindSingle
in interface ClusterRegistryInternal
- Throws:
java.rmi.RemoteException
bindCluster
public void bindCluster(java.lang.String n,
byte[] obj)
throws java.rmi.AlreadyBoundException,
java.rmi.RemoteException
- Specified by:
bindCluster
in interface ClusterRegistryInternal
- Throws:
java.rmi.AlreadyBoundException
java.rmi.RemoteException
unbind
public void unbind(java.lang.String n)
throws java.rmi.NotBoundException,
java.rmi.RemoteException
- Specified by:
unbind
in interface ClusterRegistryInternal
- Throws:
java.rmi.NotBoundException
java.rmi.RemoteException
rebindCluster
public void rebindCluster(java.lang.String n,
byte[] obj)
throws java.rmi.RemoteException
- Specified by:
rebindCluster
in interface ClusterRegistryInternal
- Throws:
java.rmi.RemoteException
list
public java.lang.String[] list()
throws java.rmi.RemoteException
- Specified by:
list
in interface ClusterRegistryInternal
- Throws:
java.rmi.RemoteException
test
public void test()
throws java.rmi.RemoteException
- Specified by:
test
in interface ClusterRegistryInternal
- Throws:
java.rmi.RemoteException
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception