Class: javax.management.remote.JMXConnectionNotification

  • public class JMXConnectionNotification
  • extends Notification

Notification emitted when a client connection is opened or closed or when notifications are lost. These notifications are sent by connector servers (instances of javax.management.remote.JMXConnectorServer) and by connector clients (instances of javax.management.remote.JMXConnector). For certain connectors, a session can consist of a sequence of connections. Connection-opened and connection-closed notifications will be sent for each one.

The notification type is one of the following:

TypeMeaning
jmx.remote.connection.openedA new client connection has been opened.
jmx.remote.connection.closedA client connection has been closed.
jmx.remote.connection.failedA client connection has failed unexpectedly.
jmx.remote.connection.notifs.lostA client connection has potentially lost notifications. This notification only appears on the client side.

The timeStamp of the notification is a time value (consistent with System.currentTimeMillis()) indicating when the notification was constructed.

Since:
@since 1.5

Inheritance

Superclass tree: Implements:

Methods

Fields

  • CLOSED

    public static final String CLOSED = "jmx.remote.connection.closed"

    Notification type string for a connection-closed notification.

  • FAILED

    public static final String FAILED = "jmx.remote.connection.failed"

    Notification type string for a connection-failed notification.

  • NOTIFS_LOST

    public static final String NOTIFS_LOST = "jmx.remote.connection.notifs.lost"

    Notification type string for a connection that has possibly lost notifications.

  • OPENED

    public static final String OPENED = "jmx.remote.connection.opened"

    Notification type string for a connection-opened notification.

  • connectionId

    final private String connectionId
  • serialVersionUID

    static final private long serialVersionUID = -2331308725952627538