src/share/classes/java/rmi/Naming.java

Print this page
rev 10048 : 8044740: Convert all JDK versions used in @since tag to 1.n[.n] in jdk repo
Reviewed-by:

*** 62,72 **** * (see <code>java.rmi.registry.LocateRegistry.createRegistry</code> method * for details). * * @author Ann Wollrath * @author Roger Riggs ! * @since JDK1.1 * @see java.rmi.registry.Registry * @see java.rmi.registry.LocateRegistry * @see java.rmi.registry.LocateRegistry#createRegistry(int) */ public final class Naming { --- 62,72 ---- * (see <code>java.rmi.registry.LocateRegistry.createRegistry</code> method * for details). * * @author Ann Wollrath * @author Roger Riggs ! * @since 1.1 * @see java.rmi.registry.Registry * @see java.rmi.registry.LocateRegistry * @see java.rmi.registry.LocateRegistry#createRegistry(int) */ public final class Naming {
*** 84,94 **** * @exception NotBoundException if name is not currently bound * @exception RemoteException if registry could not be contacted * @exception AccessException if this operation is not permitted * @exception MalformedURLException if the name is not an appropriately * formatted URL ! * @since JDK1.1 */ public static Remote lookup(String name) throws NotBoundException, java.net.MalformedURLException, RemoteException --- 84,94 ---- * @exception NotBoundException if name is not currently bound * @exception RemoteException if registry could not be contacted * @exception AccessException if this operation is not permitted * @exception MalformedURLException if the name is not an appropriately * formatted URL ! * @since 1.1 */ public static Remote lookup(String name) throws NotBoundException, java.net.MalformedURLException, RemoteException
*** 110,120 **** * @exception MalformedURLException if the name is not an appropriately * formatted URL * @exception RemoteException if registry could not be contacted * @exception AccessException if this operation is not permitted (if * originating from a non-local host, for example) ! * @since JDK1.1 */ public static void bind(String name, Remote obj) throws AlreadyBoundException, java.net.MalformedURLException, RemoteException --- 110,120 ---- * @exception MalformedURLException if the name is not an appropriately * formatted URL * @exception RemoteException if registry could not be contacted * @exception AccessException if this operation is not permitted (if * originating from a non-local host, for example) ! * @since 1.1 */ public static void bind(String name, Remote obj) throws AlreadyBoundException, java.net.MalformedURLException, RemoteException
*** 137,147 **** * @exception MalformedURLException if the name is not an appropriately * formatted URL * @exception RemoteException if registry could not be contacted * @exception AccessException if this operation is not permitted (if * originating from a non-local host, for example) ! * @since JDK1.1 */ public static void unbind(String name) throws RemoteException, NotBoundException, java.net.MalformedURLException --- 137,147 ---- * @exception MalformedURLException if the name is not an appropriately * formatted URL * @exception RemoteException if registry could not be contacted * @exception AccessException if this operation is not permitted (if * originating from a non-local host, for example) ! * @since 1.1 */ public static void unbind(String name) throws RemoteException, NotBoundException, java.net.MalformedURLException
*** 161,171 **** * @exception MalformedURLException if the name is not an appropriately * formatted URL * @exception RemoteException if registry could not be contacted * @exception AccessException if this operation is not permitted (if * originating from a non-local host, for example) ! * @since JDK1.1 */ public static void rebind(String name, Remote obj) throws RemoteException, java.net.MalformedURLException { ParsedNamingURL parsed = parseURL(name); --- 161,171 ---- * @exception MalformedURLException if the name is not an appropriately * formatted URL * @exception RemoteException if registry could not be contacted * @exception AccessException if this operation is not permitted (if * originating from a non-local host, for example) ! * @since 1.1 */ public static void rebind(String name, Remote obj) throws RemoteException, java.net.MalformedURLException { ParsedNamingURL parsed = parseURL(name);
*** 188,198 **** * @return an array of names (in the appropriate format) bound * in the registry * @exception MalformedURLException if the name is not an appropriately * formatted URL * @exception RemoteException if registry could not be contacted. ! * @since JDK1.1 */ public static String[] list(String name) throws RemoteException, java.net.MalformedURLException { ParsedNamingURL parsed = parseURL(name); --- 188,198 ---- * @return an array of names (in the appropriate format) bound * in the registry * @exception MalformedURLException if the name is not an appropriately * formatted URL * @exception RemoteException if registry could not be contacted. ! * @since 1.1 */ public static String[] list(String name) throws RemoteException, java.net.MalformedURLException { ParsedNamingURL parsed = parseURL(name);