javax.management
public class MBeanServerDelegate extends Object implements MBeanServerDelegateMBean, NotificationEmitter
Since: 1.5
Constructor Summary | |
---|---|
MBeanServerDelegate()
Default constructor which generates the id. |
Method Summary | |
---|---|
void | addNotificationListener(NotificationListener listener, NotificationFilter filter, Object passback)
Registers the specified listener as a new recipient of
notifications from the delegate. |
String | getImplementationName()
Returns the name of this Java Management eXtensions (JMX) implementation.
|
String | getImplementationVendor()
Returns the vendor of this Java Management eXtensions (JMX) implementation.
|
String | getImplementationVersion()
Returns the version of this Java Management eXtensions (JMX) implementation.
|
String | getMBeanServerId()
Returns the unique identifier for this management server.
|
MBeanNotificationInfo[] | getNotificationInfo()
Returns an array describing the notifications this
bean may send to its registered listeners. |
String | getSpecificationName()
Returns the name of this Java Management eXtensions (JMX) specification.
|
String | getSpecificationVendor()
Returns the vendor of this Java Management eXtensions (JMX) specification.
|
String | getSpecificationVersion()
Returns the version of this Java Management eXtensions (JMX) specification.
|
void | removeNotificationListener(NotificationListener listener)
Removes the specified listener from the list of recipients
of notifications from this bean. |
void | removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object passback)
Removes the specified listener from the list of recipients
of notifications from this delegate. |
void | sendNotification(Notification notification)
Allows the server to use the delegate to send a notification.
|
Parameters: listener the new listener, who will receive
notifications from this broadcasting bean. filter a filter to determine which notifications are
delivered to the listener, or null
if no filtering is required. passback an object to be passed to the listener with
each notification.
Throws: IllegalArgumentException if listener
is
null
.
See Also: removeNotificationListener
Returns: the implementation name.
Returns: the implementation vendor.
Returns: the implementation version.
Returns: the unique id of the server.
Returns: the array of possible notifications.
Returns: the specification name.
Returns: the specification vendor.
Returns: the specification version.
Parameters: listener the listener to remove.
Throws: ListenerNotFoundException if the specified listener is not registered with this bean.
See Also: MBeanServerDelegate
null
is used as a valid value for these parameters,
rather than as a way to remove all registration instances for
the specified listener; for this behaviour instead, see
{@link #removeNotificationListener(NotificationListener)}.
Parameters: listener the listener to remove. filter the filter of the listener to remove. passback the passback object of the listener to remove.
Throws: ListenerNotFoundException if the specified listener is not registered with this bean.
Parameters: notification the notification to send.