1 7 package java.rmi.registry; 8 9 import java.rmi.AccessException ; 10 import java.rmi.AlreadyBoundException ; 11 import java.rmi.NotBoundException ; 12 import java.rmi.Remote ; 13 import java.rmi.RemoteException ; 14 15 61 public interface Registry extends Remote { 62 63 64 public static final int REGISTRY_PORT = 1099; 65 66 86 public Remote lookup(String name) 87 throws RemoteException , NotBoundException , AccessException ; 88 89 110 public void bind(String name, Remote obj) 111 throws RemoteException , AlreadyBoundException , AccessException ; 112 113 132 public void unbind(String name) 133 throws RemoteException , NotBoundException , AccessException ; 134 135 156 public void rebind(String name, Remote obj) 157 throws RemoteException , AccessException ; 158 159 174 public String [] list() throws RemoteException , AccessException ; 175 } 176 | Popular Tags |