diff options
Diffstat (limited to 'libjava/java/rmi/registry/Registry.java')
-rw-r--r-- | libjava/java/rmi/registry/Registry.java | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/libjava/java/rmi/registry/Registry.java b/libjava/java/rmi/registry/Registry.java index b69bcea..203da11 100644 --- a/libjava/java/rmi/registry/Registry.java +++ b/libjava/java/rmi/registry/Registry.java @@ -43,19 +43,22 @@ import java.rmi.AccessException; import java.rmi.AlreadyBoundException; import java.rmi.Remote; -public interface Registry - extends Remote { +public interface Registry extends Remote +{ + public static final int REGISTRY_PORT = 1099; -public static int REGISTRY_PORT = 1099; + public Remote lookup(String name) + throws RemoteException, NotBoundException, AccessException; -public Remote lookup(String name) throws RemoteException, NotBoundException, AccessException; + public void bind(String name, Remote obj) + throws RemoteException, AlreadyBoundException, AccessException; -public void bind(String name, Remote obj) throws RemoteException, AlreadyBoundException, AccessException; + public void unbind(String name) + throws RemoteException, NotBoundException, AccessException; -public void unbind(String name) throws RemoteException, NotBoundException, AccessException; - -public void rebind(String name, Remote obj) throws RemoteException, AccessException; - -public String[] list() throws RemoteException, AccessException; + public void rebind(String name, Remote obj) + throws RemoteException, AccessException; + public String[] list() + throws RemoteException, AccessException; } |