| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| protected final BaseEmitterBean. | emitter
emitter |
| private final List | |
| protected final AtomicLong | sequenceNumber
sequenceNumber |
| Access | Constructor and Description |
|---|---|
| protected <T> |
| Modifier and Type | Method and Description |
|---|---|
| public void | addNotificationListener(NotificationListener
The listener object which will handle the
notifications emitted by the broadcaster. notif, NotificationFilter The filter object. If filter is null, no
filtering will be performed before handling notifications. filter, Object An opaque object to be sent back to the
listener when a notification is emitted. This object cannot be
used by the Notification broadcaster object. It should be
resent unchanged with the notification to the listener. callBack)Implements javax. |
| public final void | |
| protected abstract void | |
| public abstract MBeanNotificationInfo[] | getNotificationInfo()
Redeclares javax. Returns an array indicating, for each notification this MBean may send, the name of the Java class of the notification and the notification type. |
| private void | |
| public void | removeNotificationListener(NotificationListener
A listener that was previously added to this
MBean. listener)Implements javax. |
| public void | removeNotificationListener(NotificationListener
A listener that was previously added to this
MBean. notif, NotificationFilter The filter that was specified when the listener
was added. filter, Object The handback that was specified when the listener was
added. callBack)Implements javax. Removes a listener from this MBean. |
| public void | |
| public void | |
| public void |
| emitter | back to summary |
|---|---|
| protected final BaseEmitterBean. emitter | |
| notificationListeners | back to summary |
|---|---|
| private final List<NotificationListener> notificationListeners | |
| sequenceNumber | back to summary |
|---|---|
| protected final AtomicLong sequenceNumber sequenceNumber | |
| BaseEmitterBean | back to summary |
|---|---|
| protected <T> BaseEmitterBean(Class<T> mbeanInterface) throws NotCompliantMBeanException BaseEmitterBean | |
| addNotificationListener | back to summary |
|---|---|
| public void addNotificationListener(NotificationListener notif, NotificationFilter filter, Object callBack) Implements javax. Doc from javax. Adds a listener to this MBean.
| |
| dispose | back to summary |
|---|---|
| public final void dispose() Dispose of this SampledCacheManager and clean up held resources | |
| doDispose | back to summary |
|---|---|
| protected abstract void doDispose() Dispose callback of subclasses | |
| getNotificationInfo | back to summary |
|---|---|
| public abstract MBeanNotificationInfo[] getNotificationInfo() Redeclares javax. Doc from javax. Returns an array indicating, for each notification this MBean may send, the name of the Java class of the notification and the notification type. It is not illegal for the MBean to send notifications not described in this array. However, some clients of the MBean server may depend on the array being complete for their correct functioning.
| |
| removeAllNotificationListeners | back to summary |
|---|---|
| private void removeAllNotificationListeners() remove all added notification listeners | |
| removeNotificationListener | back to summary |
|---|---|
| public void removeNotificationListener(NotificationListener listener) throws ListenerNotFoundException Implements javax. Doc from javax. Removes a listener from this MBean. If the listener has been registered with different handback objects or notification filters, all entries corresponding to the listener will be removed.
| |
| removeNotificationListener | back to summary |
|---|---|
| public void removeNotificationListener(NotificationListener notif, NotificationFilter filter, Object callBack) throws ListenerNotFoundException Implements javax. Doc from javax. Removes a listener from this MBean. The MBean must have a
listener that exactly matches the given The
| |
| sendNotification | back to summary |
|---|---|
| public void sendNotification(String eventType) sendNotification | |
| sendNotification | back to summary |
|---|---|
| public void sendNotification(String eventType, Object data) sendNotification | |
| sendNotification | back to summary |
|---|---|
| public void sendNotification(String eventType, Object data, String msg) sendNotification | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public MBeanNotificationInfo[] | getNotificationInfo()
Overrides javax. Implements javax. Returns an array indicating, for each notification this MBean may send, the name of the Java class of the notification and the notification type. |
| Emitter | back to summary |
|---|---|
| private Emitter() | |
| getNotificationInfo | back to summary |
|---|---|
| public MBeanNotificationInfo[] getNotificationInfo() Overrides javax. Implements javax. Doc from javax. Returns an array indicating, for each notification this MBean may send, the name of the Java class of the notification and the notification type. It is not illegal for the MBean to send notifications not described in this array. However, some clients of the MBean server may depend on the array being complete for their correct functioning.
| |