43503
|
1 |
/*
|
|
2 |
* Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
|
|
3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
4 |
*
|
|
5 |
* This code is free software; you can redistribute it and/or modify it
|
|
6 |
* under the terms of the GNU General Public License version 2 only, as
|
|
7 |
* published by the Free Software Foundation. Oracle designates this
|
|
8 |
* particular file as subject to the "Classpath" exception as provided
|
|
9 |
* by Oracle in the LICENSE file that accompanied this code.
|
|
10 |
*
|
|
11 |
* This code is distributed in the hope that it will be useful, but WITHOUT
|
|
12 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
13 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
14 |
* version 2 for more details (a copy is included in the LICENSE file that
|
|
15 |
* accompanied this code).
|
|
16 |
*
|
|
17 |
* You should have received a copy of the GNU General Public License version
|
|
18 |
* 2 along with this work; if not, write to the Free Software Foundation,
|
|
19 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
20 |
*
|
|
21 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
|
22 |
* or visit www.oracle.com if you need additional information or have any
|
|
23 |
* questions.
|
|
24 |
*/
|
|
25 |
|
|
26 |
/**
|
|
27 |
* Defines the RMI Connector for the Java Management Extensions (JMX) Remote API.
|
|
28 |
* <P>
|
|
29 |
* The {@linkplain javax.management.remote.rmi RMI connector} is a connector
|
|
30 |
* for the JMX Remote API that uses RMI to transmit client requests to a remote
|
|
31 |
* MBean server.
|
|
32 |
*
|
|
33 |
* @provides javax.management.remote.JMXConnectorProvider
|
|
34 |
* A provider of {@code JMXConnector} for the RMI protocol.<br>
|
|
35 |
* Instances of {@code JMXConnector} using the RMI protocol
|
|
36 |
* are usually created by the {@link
|
|
37 |
* javax.management.remote.JMXConnectorFactory} which will locate
|
|
38 |
* and load the appropriate {@code JMXConnectorProvider} service
|
|
39 |
* implementation for the given protocol.
|
|
40 |
*
|
|
41 |
* @provides javax.management.remote.JMXConnectorServerProvider
|
|
42 |
* A provider of {@code JMXConnectorServer} for the RMI protocol.<br>
|
|
43 |
* Instances of {@code JMXConnectorServer} using the RMI protocol
|
|
44 |
* are usually created by the {@link
|
|
45 |
* javax.management.remote.JMXConnectorServerFactory} which will locate
|
|
46 |
* and load the appropriate {@code JMXConnectorServerProvider} service
|
|
47 |
* implementation for the given protocol.
|
|
48 |
*
|
|
49 |
*/
|
|
50 |
module java.management.rmi {
|
|
51 |
|
|
52 |
requires transitive java.management;
|
|
53 |
requires transitive java.rmi;
|
|
54 |
requires java.naming;
|
|
55 |
|
|
56 |
exports javax.management.remote.rmi;
|
|
57 |
|
|
58 |
// The qualified export below is required to preserve backward
|
|
59 |
// compatibility for the legacy case where an ordered list
|
|
60 |
// of package prefixes can be specified to the factory.
|
|
61 |
exports com.sun.jmx.remote.protocol.rmi to java.management;
|
|
62 |
|
|
63 |
// jdk.management.agent needs to create an RMIExporter instance.
|
|
64 |
exports com.sun.jmx.remote.internal.rmi to jdk.management.agent;
|
|
65 |
|
|
66 |
// The java.management.rmi module provides implementations
|
|
67 |
// of the JMXConnectorProvider and JMXConnectorServerProvider
|
|
68 |
// services supporting the RMI protocol.
|
|
69 |
provides javax.management.remote.JMXConnectorProvider
|
|
70 |
with com.sun.jmx.remote.protocol.rmi.ClientProvider;
|
|
71 |
provides javax.management.remote.JMXConnectorServerProvider
|
|
72 |
with com.sun.jmx.remote.protocol.rmi.ServerProvider;
|
|
73 |
|
|
74 |
}
|