Modifier and Type | Field and Description |
---|---|
private final NotificationBroadcasterSupport | broadcaster
The NotificationBroadcasterSupport object that sends the notifications |
public static final ObjectName | DELEGATE_NAME
Defines the default ObjectName of the MBeanServerDelegate. |
private String | mbeanServerId
The MBean server agent identification. |
private static final MBeanNotificationInfo[] | |
private static long | |
private long | |
private final long |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public synchronized void | addNotificationListener(NotificationListener
The listener object which will handle the
notifications emitted by the broadcaster. listener, 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. handback)Implements javax. Adds a listener to this MBean. |
public String | Returns: the implementation name.Implements javax. Returns the JMX implementation name (the name of this product). |
public String | Returns: the implementation vendor.Implements javax. Returns the JMX implementation vendor (the vendor of this product). |
public String | Returns: the implementation version.Implements javax. Returns the JMX implementation version (the version of this product). |
public synchronized String | Returns: the identity.Implements javax. Returns the MBean server agent identity. |
public MBeanNotificationInfo[] | getNotificationInfo()
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. |
public String | Returns: the specification name.Implements javax. Returns the full name of the JMX specification implemented by this product. |
public String | Returns: the specification vendor.Implements javax. Returns the vendor of the JMX specification implemented by this product. |
public String | Returns: the specification version.Implements javax. Returns the version of the JMX specification implemented by this product. |
private static synchronized long | |
public synchronized void | removeNotificationListener(NotificationListener
A listener that was previously added to this
MBean. listener, NotificationFilter The filter that was specified when the listener
was added. filter, Object The handback that was specified when the listener was
added. handback)Implements javax. Removes a listener from this MBean. |
public synchronized void | removeNotificationListener(NotificationListener
A listener that was previously added to this
MBean. listener)Implements javax. Removes a listener from this MBean. |
public void | sendNotification(Notification
The notification to send. notification)Enables the MBean server to send a notification. |
broadcaster | back to summary |
---|---|
private final NotificationBroadcasterSupport broadcaster The NotificationBroadcasterSupport object that sends the notifications |
DELEGATE_NAME | back to summary |
---|---|
public static final ObjectName DELEGATE_NAME Defines the default ObjectName of the MBeanServerDelegate.
|
mbeanServerId | back to summary |
---|---|
private String mbeanServerId The MBean server agent identification. |
notifsInfo | back to summary |
---|---|
private static final MBeanNotificationInfo[] notifsInfo |
oldStamp | back to summary |
---|---|
private static long oldStamp |
sequenceNumber | back to summary |
---|---|
private long sequenceNumber |
stamp | back to summary |
---|---|
private final long stamp |
MBeanServerDelegate | back to summary |
---|---|
public MBeanServerDelegate() Create a MBeanServerDelegate object. |
addNotificationListener | back to summary |
---|---|
public synchronized void addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws IllegalArgumentException Implements javax. Doc from javax. Adds a listener to this MBean.
|
getImplementationName | back to summary |
---|---|
public String getImplementationName() Implements javax. Returns the JMX implementation name (the name of this product).
|
getImplementationVendor | back to summary |
---|---|
public String getImplementationVendor() Implements javax. Returns the JMX implementation vendor (the vendor of this product).
|
getImplementationVersion | back to summary |
---|---|
public String getImplementationVersion() Implements javax. Returns the JMX implementation version (the version of this product).
|
getMBeanServerId | back to summary |
---|---|
public synchronized String getMBeanServerId() Implements javax. Returns the MBean server agent identity.
|
getNotificationInfo | back to summary |
---|---|
public MBeanNotificationInfo[] getNotificationInfo() 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.
|
getSpecificationName | back to summary |
---|---|
public String getSpecificationName() Implements javax. Returns the full name of the JMX specification implemented by this product.
|
getSpecificationVendor | back to summary |
---|---|
public String getSpecificationVendor() Implements javax. Returns the vendor of the JMX specification implemented by this product.
|
getSpecificationVersion | back to summary |
---|---|
public String getSpecificationVersion() Implements javax. Returns the version of the JMX specification implemented by this product.
|
getStamp | back to summary |
---|---|
private static synchronized long getStamp() |
removeNotificationListener | back to summary |
---|---|
public synchronized void removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) 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
|
removeNotificationListener | back to summary |
---|---|
public synchronized 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.
|
sendNotification | back to summary |
---|---|
public void sendNotification(Notification notification) Enables the MBean server to send a notification. If the passed notification has a sequence number lesser or equal to 0, then replace it with the delegate's own sequence number.
|