Class: javax.management.remote.JMXConnectorServer

Superclass of every connector server. A connector server is attached to an MBean server. It listens for client connection requests and creates a connection for each one.

A connector server is associated with an MBean server either by registering it in that MBean server, or by passing the MBean server to its constructor.

A connector server is inactive when created. It only starts listening for client connections when the start method is called. A connector server stops listening for client connections when the stop method is called or when the connector server is unregistered from its MBean server.

Stopping a connector server does not unregister it from its MBean server. A connector server once stopped cannot be restarted.

Each time a client connection is made or broken, a notification of class javax.management.remote.JMXConnectionNotification is emitted.

Since:
@since 1.5

Methods

Fields

  • AUTHENTICATOR

    public static final String AUTHENTICATOR = "jmx.remote.authenticator"

    Name of the attribute that specifies the authenticator for a connector server. The value associated with this attribute, if any, must be an object that implements the interface javax.management.remote.JMXAuthenticator.

  • connectionIds

    private List<String> connectionIds
  • mbeanServer

    private MBeanServer mbeanServer
    The MBeanServer used by this server to execute a client request.
  • myName

    private ObjectName myName
    The name used to registered this server in an MBeanServer. It is null if the this server is not registered or has been unregistered.
  • sequenceNumber

    static private long sequenceNumber
  • sequenceNumberLock

    static final private int[] sequenceNumberLock