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

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

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

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

JDK 11 Management RMI module source code files are stored in \fyicenter\jdk-11.0.1\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

 

JDK 11 java.naming.jmod - Naming Module

JDK 11 java.management.jmod - Management Module

Download and Use JDK 11

⇑⇑ FAQ for JDK (Java Development Kit)

2020-04-30, 3182👍, 0💬