This class is not part of the public API.

Class: sun.management.NotificationEmitterSupport

Abstract helper class for notification emitter support.

Inheritance

Superclass tree: Implements:

Methods

Fields

  • listenerList

    Current list of listeners, a List of ListenerInfo. The object referenced by this field is never modified. Instead, the field is set to a new object when a listener is added or removed, within a synchronized(this). In this way, there is no need to synchronize when traversing the list to send a notification to the listeners in it. That avoids potential deadlocks if the listeners end up depending on other threads that are themselves accessing this NotificationBroadcasterSupport.
  • listenerLock

    private Object listenerLock