equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1996, 2003, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
97 * <li>Otherwise, an instance of the remote object's stub class (as |
97 * <li>Otherwise, an instance of the remote object's stub class (as |
98 * described above) is used as the stub. |
98 * described above) is used as the stub. |
99 * |
99 * |
100 * </ul> |
100 * </ul> |
101 * </ul> |
101 * </ul> |
|
102 * |
|
103 * <p>If an object is exported with the |
|
104 * {@link #exportObject(Remote) exportObject(Remote)} |
|
105 * or |
|
106 * {@link #exportObject(Remote, int) exportObject(Remote, port)} |
|
107 * methods, or if a subclass constructor invokes one of the |
|
108 * {@link #UnicastRemoteObject()} |
|
109 * or |
|
110 * {@link #UnicastRemoteObject(int) UnicastRemoteObject(port)} |
|
111 * constructors, the object is exported with a server socket created using the |
|
112 * {@link RMISocketFactory} |
|
113 * class. |
|
114 * |
|
115 * @implNote |
|
116 * <p>By default, server sockets created by the {@link RMISocketFactory} class |
|
117 * listen on all network interfaces. See the |
|
118 * {@link RMISocketFactory} class and the section |
|
119 * <a href="{@docRoot}/../platform/rmi/spec/rmi-server29.html">RMI Socket Factories</a> |
|
120 * in the |
|
121 * <a href="{@docRoot}/../platform/rmi/spec/rmiTOC.html">Java RMI Specification</a>. |
102 * |
122 * |
103 * @author Ann Wollrath |
123 * @author Ann Wollrath |
104 * @author Peter Jones |
124 * @author Peter Jones |
105 * @since JDK1.1 |
125 * @since JDK1.1 |
106 **/ |
126 **/ |