Path: blob/master/src/java.management.rmi/share/classes/module-info.java
41144 views
/*1* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.2* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3*4* This code is free software; you can redistribute it and/or modify it5* under the terms of the GNU General Public License version 2 only, as6* published by the Free Software Foundation. Oracle designates this7* particular file as subject to the "Classpath" exception as provided8* by Oracle in the LICENSE file that accompanied this code.9*10* This code is distributed in the hope that it will be useful, but WITHOUT11* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or12* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License13* version 2 for more details (a copy is included in the LICENSE file that14* accompanied this code).15*16* You should have received a copy of the GNU General Public License version17* 2 along with this work; if not, write to the Free Software Foundation,18* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.19*20* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA21* or visit www.oracle.com if you need additional information or have any22* questions.23*/2425/**26* Defines the {@linkplain javax.management.remote.rmi RMI connector}27* for the Java Management Extensions (JMX) Remote API.28*29* <dl class="notes">30* <dt>Providers:</dt>31* <dd>This module provides the32* {@link javax.management.remote.JMXConnectorProvider} service,33* which creates JMX connector clients using the RMI protocol.34* Instances of {@code JMXConnector} can be obtained via the35* {@link javax.management.remote.JMXConnectorFactory#newJMXConnector36* JMXConnectorFactory.newJMXConnector} factory method.37* It also provides the {@link javax.management.remote.JMXConnectorServerProvider} service,38* which creates JMX connector servers using the RMI protocol.39* Instances of {@code JMXConnectorServer} can be obtained via the40* {@link javax.management.remote.JMXConnectorServerFactory#newJMXConnectorServer41* JMXConnectorServerFactory.newJMXConnectorServer} factory method.42* </dd>43* </dl>44*45* @provides javax.management.remote.JMXConnectorProvider46* @provides javax.management.remote.JMXConnectorServerProvider47*48* @moduleGraph49* @since 950*/51module java.management.rmi {5253requires java.naming;5455requires transitive java.management;56requires transitive java.rmi;5758exports javax.management.remote.rmi;5960// The qualified export below is required to preserve backward61// compatibility for the legacy case where an ordered list62// of package prefixes can be specified to the factory.63exports com.sun.jmx.remote.protocol.rmi to java.management;6465// jdk.management.agent needs to create an RMIExporter instance.66exports com.sun.jmx.remote.internal.rmi to jdk.management.agent;6768// The java.management.rmi module provides implementations69// of the JMXConnectorProvider and JMXConnectorServerProvider70// services supporting the RMI protocol.71provides javax.management.remote.JMXConnectorProvider with72com.sun.jmx.remote.protocol.rmi.ClientProvider;73provides javax.management.remote.JMXConnectorServerProvider with74com.sun.jmx.remote.protocol.rmi.ServerProvider;7576}777879