Class ConnectorServer

  • All Implemented Interfaces:
    LifeCycle

    @Deprecated(since="2021-05-27")
    public class ConnectorServer
    extends AbstractLifeCycle
    Deprecated.
    The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.

    LifeCycle wrapper for JMXConnectorServer.

    This class provides the following facilities:

    • participates in the Server lifecycle
    • starts the RMI registry if not there already
    • allows to bind the RMI registry and the RMI server to the loopback interface
    • makes it easy to use TLS for the JMX communication
    • Field Detail

      • RMI_REGISTRY_CLIENT_SOCKET_FACTORY_ATTRIBUTE

        public static final java.lang.String RMI_REGISTRY_CLIENT_SOCKET_FACTORY_ATTRIBUTE
        Deprecated.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ConnectorServer

        public ConnectorServer​(javax.management.remote.JMXServiceURL serviceURL,
                               java.lang.String name)
        Deprecated.
        Constructs a ConnectorServer
        Parameters:
        serviceURL - the address of the new ConnectorServer
        name - object name string to be assigned to ConnectorServer bean
      • ConnectorServer

        public ConnectorServer​(javax.management.remote.JMXServiceURL svcUrl,
                               java.util.Map<java.lang.String,​?> environment,
                               java.lang.String name)
        Deprecated.
        Constructs a ConnectorServer
        Parameters:
        svcUrl - the address of the new ConnectorServer
        environment - a set of attributes to control the new ConnectorServer's behavior. This parameter can be null. Keys in this map must be Strings. The appropriate type of each associated value depends on the attribute. The contents of environment are not changed by this call.
        name - object name string to be assigned to ConnectorServer bean
      • ConnectorServer

        public ConnectorServer​(javax.management.remote.JMXServiceURL svcUrl,
                               java.util.Map<java.lang.String,​?> environment,
                               java.lang.String name,
                               SslContextFactory sslContextFactory)
        Deprecated.
    • Method Detail

      • getAddress

        public javax.management.remote.JMXServiceURL getAddress()
        Deprecated.
      • doStart

        public void doStart()
                     throws java.lang.Exception
        Deprecated.
        Throws:
        java.lang.Exception
      • doStop

        public void doStop()
                    throws java.lang.Exception
        Deprecated.
        Throws:
        java.lang.Exception