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