JDK 17 java.rmi.jmod - RMI Module

JDK 17 java.rmi.jmod is the JMOD file for JDK 17 RMI (Remote Method Invocation) module.

JDK 17 RMI module compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\java.rmi.jmod.

JDK 17 RMI module compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.

JDK 17 RMI module source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\java.rmi.

You can click and view the content of each source code file in the list below.

✍: FYIcenter

java/rmi/server/RMIFailureHandler.java

/*
 * Copyright (c) 1996, 2019, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 */

package java.rmi.server;

/**
 * An {@code RMIFailureHandler} can be registered via the
 * {@code RMISocketFactory.setFailureHandler} call. The
 * {@code failure} method of the handler is invoked when the RMI
 * runtime is unable to create a {@code ServerSocket} to listen
 * for incoming calls. The {@code failure} method returns a boolean
 * indicating whether the runtime should attempt to re-create the
 * {@code ServerSocket}.
 *
 * @author      Ann Wollrath
 * @since       1.1
 */
public interface RMIFailureHandler {

    /**
     * The {@code failure} callback is invoked when the RMI
     * runtime is unable to create a {@code ServerSocket} via the
     * {@code RMISocketFactory}. An {@code RMIFailureHandler}
     * is registered via a call to
     * {@code RMISocketFactory.setFailureHandler}.  If no failure
     * handler is installed, the default behavior is to attempt to
     * re-create the ServerSocket.
     *
     * @param ex the exception that occurred during {@code ServerSocket}
     *           creation
     * @return if true, the RMI runtime attempts to retry
     * {@code ServerSocket} creation
     * @see java.rmi.server.RMISocketFactory#setFailureHandler(RMIFailureHandler)
     * @since 1.1
     */
    public boolean failure(Exception ex);

}

java/rmi/server/RMIFailureHandler.java

 

Or download all of them as a single archive file:

File name: java.rmi-17.0.5-src.zip
File size: 220001 bytes
Release date: 2022-09-13
Download 

 

JDK 17 java.scripting.jmod - Scripting Module

JDK 17 java.prefs.jmod - Prefs Module

JDK 17 JMod/Module Files

⇑⇑ FAQ for JDK (Java Development Kit) 17

2023-11-06, 5381👍, 0💬