JDK 17 java.management.rmi.jmod - Management RMI Module

JDK 17 java.management.rmi.jmod is the JMOD file for JDK 17 Management RMI module.

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

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

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

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

✍: FYIcenter

com/sun/jmx/remote/protocol/rmi/ServerProvider.java

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

package com.sun.jmx.remote.protocol.rmi;

import java.io.IOException;
import java.net.MalformedURLException;
import java.util.Map;

import javax.management.MBeanServer;
import javax.management.remote.JMXConnectorServer;
import javax.management.remote.JMXConnectorServerProvider;
import javax.management.remote.JMXServiceURL;
import javax.management.remote.rmi.RMIConnectorServer;

public class ServerProvider implements JMXConnectorServerProvider {

    public JMXConnectorServer newJMXConnectorServer(JMXServiceURL serviceURL,
                                                    Map<String,?> environment,
                                                    MBeanServer mbeanServer)
            throws IOException {
        if (!serviceURL.getProtocol().equals("rmi")) {
            throw new MalformedURLException("Protocol not rmi: " +
                                            serviceURL.getProtocol());
        }
        return new RMIConnectorServer(serviceURL, environment, mbeanServer);
    }

}

com/sun/jmx/remote/protocol/rmi/ServerProvider.java

 

Or download all of them as a single archive file:

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

 

JDK 17 java.naming.jmod - Naming Module

JDK 17 java.management.jmod - Management Module

JDK 17 JMod/Module Files

⇑⇑ FAQ for JDK (Java Development Kit) 17

2023-09-23, 1275👍, 0💬