1 19 package org.objectweb.carol.cmi; 20 21 import java.rmi.AlreadyBoundException ; 22 import java.rmi.NotBoundException ; 23 import java.rmi.Remote ; 24 import java.rmi.RemoteException ; 25 26 public interface ClusterRegistryInternal extends Remote { 27 public static final byte CLUSTERED = 1; 28 public static final byte NOT_CLUSTERED = 0; 29 public void test() throws RemoteException ; 30 public String [] list() throws RemoteException ; 31 public Object lookup(String name) 32 throws NotBoundException , RemoteException ; 33 public void bindSingle(String name, Remote obj) 34 throws AlreadyBoundException , RemoteException ; 35 public void rebindSingle(String name, Remote obj) throws RemoteException ; 36 public void bindCluster(String name, byte[] obj) 37 throws AlreadyBoundException , RemoteException ; 38 public void rebindCluster(String name, byte[] obj) throws RemoteException ; 39 public void unbind(String name) throws NotBoundException , RemoteException ; 40 } 41 | Popular Tags |