jdk/src/share/classes/java/rmi/server/RemoteStub.java
changeset 24865 09b1d992ca72
parent 21421 aadfbd8b351b
equal deleted inserted replaced
24864:a7bf63ebda64 24865:09b1d992ca72
    31  * reference semantics.  Stub objects are surrogates that support
    31  * reference semantics.  Stub objects are surrogates that support
    32  * exactly the same set of remote interfaces defined by the actual
    32  * exactly the same set of remote interfaces defined by the actual
    33  * implementation of the remote object.
    33  * implementation of the remote object.
    34  *
    34  *
    35  * @author  Ann Wollrath
    35  * @author  Ann Wollrath
    36  * @since   JDK1.1
    36  * @since   1.1
    37  *
    37  *
    38  * @deprecated Statically generated stubs are deprecated, since
    38  * @deprecated Statically generated stubs are deprecated, since
    39  * stubs are generated dynamically. See {@link UnicastRemoteObject}
    39  * stubs are generated dynamically. See {@link UnicastRemoteObject}
    40  * for information about dynamic stub generation.
    40  * for information about dynamic stub generation.
    41  */
    41  */
    55     /**
    55     /**
    56      * Constructs a {@code RemoteStub} with the specified remote
    56      * Constructs a {@code RemoteStub} with the specified remote
    57      * reference.
    57      * reference.
    58      *
    58      *
    59      * @param ref the remote reference
    59      * @param ref the remote reference
    60      * @since JDK1.1
    60      * @since 1.1
    61      */
    61      */
    62     protected RemoteStub(RemoteRef ref) {
    62     protected RemoteStub(RemoteRef ref) {
    63         super(ref);
    63         super(ref);
    64     }
    64     }
    65 
    65 
    67      * Throws {@link UnsupportedOperationException}.
    67      * Throws {@link UnsupportedOperationException}.
    68      *
    68      *
    69      * @param stub the remote stub
    69      * @param stub the remote stub
    70      * @param ref the remote reference
    70      * @param ref the remote reference
    71      * @throws UnsupportedOperationException always
    71      * @throws UnsupportedOperationException always
    72      * @since JDK1.1
    72      * @since 1.1
    73      * @deprecated No replacement.  The {@code setRef} method
    73      * @deprecated No replacement.  The {@code setRef} method
    74      * was intended for setting the remote reference of a remote
    74      * was intended for setting the remote reference of a remote
    75      * stub. This is unnecessary, since {@code RemoteStub}s can be created
    75      * stub. This is unnecessary, since {@code RemoteStub}s can be created
    76      * and initialized with a remote reference through use of
    76      * and initialized with a remote reference through use of
    77      * the {@link #RemoteStub(RemoteRef)} constructor.
    77      * the {@link #RemoteStub(RemoteRef)} constructor.