author | kvn |
Mon, 01 Oct 2018 11:54:34 -0700 | |
changeset 51976 | 390f529f4f22 |
parent 47216 | 71c04702a3d5 |
permissions | -rw-r--r-- |
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 |
/** |
|
45528
1e8c2f062ad3
8181639: Add tool and services information to module summary
mchung
parents:
44417
diff
changeset
|
27 |
* Defines the {@linkplain javax.management.remote.rmi RMI connector} |
1e8c2f062ad3
8181639: Add tool and services information to module summary
mchung
parents:
44417
diff
changeset
|
28 |
* for the Java Management Extensions (JMX) Remote API. |
1e8c2f062ad3
8181639: Add tool and services information to module summary
mchung
parents:
44417
diff
changeset
|
29 |
* |
45782 | 30 |
* <dl> |
31 |
* <dt class="simpleTagLabel" style="font-family:'DejaVu Sans', Arial, Helvetica, sans serif">Providers:</dt> |
|
32 |
* <dd>This module provides the |
|
33 |
* {@link javax.management.remote.JMXConnectorProvider} service, |
|
34 |
* which creates JMX connector clients using the RMI protocol. |
|
45528
1e8c2f062ad3
8181639: Add tool and services information to module summary
mchung
parents:
44417
diff
changeset
|
35 |
* Instances of {@code JMXConnector} can be obtained via the |
1e8c2f062ad3
8181639: Add tool and services information to module summary
mchung
parents:
44417
diff
changeset
|
36 |
* {@link javax.management.remote.JMXConnectorFactory#newJMXConnector |
1e8c2f062ad3
8181639: Add tool and services information to module summary
mchung
parents:
44417
diff
changeset
|
37 |
* JMXConnectorFactory.newJMXConnector} factory method. |
45782 | 38 |
* It also provides the {@link javax.management.remote.JMXConnectorServerProvider} service, |
39 |
* which creates JMX connector servers using the RMI protocol. |
|
45528
1e8c2f062ad3
8181639: Add tool and services information to module summary
mchung
parents:
44417
diff
changeset
|
40 |
* Instances of {@code JMXConnectorServer} can be obtained via the |
1e8c2f062ad3
8181639: Add tool and services information to module summary
mchung
parents:
44417
diff
changeset
|
41 |
* {@link javax.management.remote.JMXConnectorServerFactory#newJMXConnectorServer |
1e8c2f062ad3
8181639: Add tool and services information to module summary
mchung
parents:
44417
diff
changeset
|
42 |
* JMXConnectorServerFactory.newJMXConnectorServer} factory method. |
1e8c2f062ad3
8181639: Add tool and services information to module summary
mchung
parents:
44417
diff
changeset
|
43 |
* </dd> |
1e8c2f062ad3
8181639: Add tool and services information to module summary
mchung
parents:
44417
diff
changeset
|
44 |
* </dl> |
43503 | 45 |
* |
46 |
* @provides javax.management.remote.JMXConnectorProvider |
|
47 |
* @provides javax.management.remote.JMXConnectorServerProvider |
|
48 |
* |
|
44417
a431edba1629
8173303: Add module-subgraph images to main platform documentation
mchung
parents:
43710
diff
changeset
|
49 |
* @moduleGraph |
43710
8fa2058eb740
8173957: Fix @since in module-info.java in dev/jdk repo
mli
parents:
43503
diff
changeset
|
50 |
* @since 9 |
43503 | 51 |
*/ |
52 |
module java.management.rmi { |
|
53 |
||
45654
5ff2edfa03fc
8182416: Clean up module-info.java like move requires transitive adjacent to exports
mchung
parents:
45528
diff
changeset
|
54 |
requires java.naming; |
5ff2edfa03fc
8182416: Clean up module-info.java like move requires transitive adjacent to exports
mchung
parents:
45528
diff
changeset
|
55 |
|
43503 | 56 |
requires transitive java.management; |
57 |
requires transitive java.rmi; |
|
58 |
||
59 |
exports javax.management.remote.rmi; |
|
60 |
||
61 |
// The qualified export below is required to preserve backward |
|
62 |
// compatibility for the legacy case where an ordered list |
|
63 |
// of package prefixes can be specified to the factory. |
|
64 |
exports com.sun.jmx.remote.protocol.rmi to java.management; |
|
65 |
||
66 |
// jdk.management.agent needs to create an RMIExporter instance. |
|
67 |
exports com.sun.jmx.remote.internal.rmi to jdk.management.agent; |
|
68 |
||
69 |
// The java.management.rmi module provides implementations |
|
70 |
// of the JMXConnectorProvider and JMXConnectorServerProvider |
|
71 |
// services supporting the RMI protocol. |
|
45654
5ff2edfa03fc
8182416: Clean up module-info.java like move requires transitive adjacent to exports
mchung
parents:
45528
diff
changeset
|
72 |
provides javax.management.remote.JMXConnectorProvider with |
5ff2edfa03fc
8182416: Clean up module-info.java like move requires transitive adjacent to exports
mchung
parents:
45528
diff
changeset
|
73 |
com.sun.jmx.remote.protocol.rmi.ClientProvider; |
5ff2edfa03fc
8182416: Clean up module-info.java like move requires transitive adjacent to exports
mchung
parents:
45528
diff
changeset
|
74 |
provides javax.management.remote.JMXConnectorServerProvider with |
5ff2edfa03fc
8182416: Clean up module-info.java like move requires transitive adjacent to exports
mchung
parents:
45528
diff
changeset
|
75 |
com.sun.jmx.remote.protocol.rmi.ServerProvider; |
43503 | 76 |
|
77 |
} |