| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final String | |
| private final ServerNotifForwarder. | |
| private final boolean | |
| private final String | |
| private final long | |
| private static int | |
| private static final int[] | |
| private final Map | |
| private static final ClassLogger | |
| private MBeanServer | |
| private NotificationBuffer | |
| private final NotificationAccessController | |
| private boolean | |
| private final int[] |
| Access | Constructor and Description |
|---|---|
| public | ServerNotifForwarder(MBeanServer mbeanServer, Map<String, ?> env, NotificationBuffer notifBuffer, String connectionId)
|
| Modifier and Type | Method and Description |
|---|---|
| public Integer | |
| private boolean | allowNotificationEmission(ObjectName name, TargetedNotification tn)
Check if the caller has the right to get the following notifications. |
| private void | |
| public NotificationResult | |
| private Integer | |
| private Subject | |
| public void | |
| public void | |
| private void | |
| public void |
| broadcasterClass | back to summary |
|---|---|
| pack-priv static final String broadcasterClass | |
| bufferFilter | back to summary |
|---|---|
| private final ServerNotifForwarder. | |
| checkNotificationEmission | back to summary |
|---|---|
| private final boolean checkNotificationEmission | |
| connectionId | back to summary |
|---|---|
| private final String connectionId | |
| connectionTimeout | back to summary |
|---|---|
| private final long connectionTimeout | |
| listenerCounter | back to summary |
|---|---|
| private static int listenerCounter | |
| listenerCounterLock | back to summary |
|---|---|
| private static final int[] listenerCounterLock | |
| listenerMap | back to summary |
|---|---|
| private final Map<ObjectName, Set<ServerNotifForwarder. | |
| logger | back to summary |
|---|---|
| private static final ClassLogger logger | |
| mbeanServer | back to summary |
|---|---|
| private MBeanServer mbeanServer | |
| notifBuffer | back to summary |
|---|---|
| private NotificationBuffer notifBuffer | |
| notificationAccessController | back to summary |
|---|---|
| private final NotificationAccessController notificationAccessController | |
| terminated | back to summary |
|---|---|
| private boolean terminated | |
| terminationLock | back to summary |
|---|---|
| private final int[] terminationLock | |
| ServerNotifForwarder | back to summary |
|---|---|
| public ServerNotifForwarder(MBeanServer mbeanServer, Map<String, ?> env, NotificationBuffer notifBuffer, String connectionId) | |
| addNotificationListener | back to summary |
|---|---|
| public Integer addNotificationListener(final ObjectName name, final NotificationFilter filter) throws InstanceNotFoundException, IOException | |
| allowNotificationEmission | back to summary |
|---|---|
| private boolean allowNotificationEmission(ObjectName name, TargetedNotification tn) Check if the caller has the right to get the following notifications. | |
| checkState | back to summary |
|---|---|
| private void checkState() throws IOException | |
| fetchNotifs | back to summary |
|---|---|
| public NotificationResult fetchNotifs(long startSequenceNumber, long timeout, int maxNotifications) | |
| getListenerID | back to summary |
|---|---|
| private Integer getListenerID() | |
| getSubject | back to summary |
|---|---|
| private Subject getSubject() | |
| removeNotificationListener | back to summary |
|---|---|
| public void removeNotificationListener(ObjectName name, Integer[] listenerIDs) throws Exception | |
| removeNotificationListener | back to summary |
|---|---|
| public void removeNotificationListener(ObjectName name, Integer listenerID) throws InstanceNotFoundException, ListenerNotFoundException, IOException | |
| snoopOnUnregister | back to summary |
|---|---|
| private void snoopOnUnregister(NotificationResult nr) | |
| terminate | back to summary |
|---|---|
| public void terminate() | |
| Modifier and Type | Field and Description |
|---|---|
| private NotificationFilter | |
| private Integer |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object o)
Overrides java. Indicates whether some other object is "equal to" this one. |
| pack-priv NotificationFilter | |
| pack-priv Integer | |
| public int |
| filter | back to summary |
|---|---|
| private NotificationFilter filter | |
| id | back to summary |
|---|---|
| private Integer id | |
| IdAndFilter | back to summary |
|---|---|
| pack-priv IdAndFilter(Integer id, NotificationFilter filter) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getFilter | back to summary |
|---|---|
| pack-priv NotificationFilter getFilter() | |
| getId | back to summary |
|---|---|
| pack-priv Integer getId() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | apply(List<TargetedNotification> targetedNotifs, ObjectName source, Notification notif)
Implements com. Add the given notification coming from the given MBean to the list iff it matches this filter's rules. |
| NotifForwarderBufferFilter | back to summary |
|---|---|
| pack-priv NotifForwarderBufferFilter() | |
| apply | back to summary |
|---|---|
| public void apply(List<TargetedNotification> targetedNotifs, ObjectName source, Notification notif) Implements com. Doc from com. Add the given notification coming from the given MBean to the list iff it matches this filter's rules. | |