RMI规范--第四章
客户机接口
程序员在编写使用远程对象的 applet 或应用程序时,需要注意 java.rmi包中可用的 RMI 系统客户机可视接口。
4.1 远程接口
package java.rmi; public final class Naming { public static Remote lookup(String url) throws NotBoundException, java.net.MalformedURLException, RemoteException; public static void bind(String url, Remote obj) throws AlreadyBoundException, java.net.MalformedURLException, RemoteException; public static void rebind(String url, Remote obj) throws RemoteException, java.net.MalformedURLException; public static void unbind(String url) throws RemoteException, NotBoundException, java.net.MalformedURLException; public static String[] list(String url) throws RemoteException, java.net.MalformedURLException; }