This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
javax.management
class MBeanServerNotification
- All Implemented Interfaces:
- Serializable
public class MBeanServerNotification
extends Notification
Represents a notification emitted by the MBean server through the MBeanServerDelegate MBean.
The MBean Server emits the following types of notifications: MBean registration, MBean
de-registration.
To receive to MBeanServerNotifications, you need to be declared as listener to
the {@link javax.management.MBeanServerDelegate javax.management.MBeanServerDelegate} MBean
that represents the MBeanServer. The ObjectName of the MBeanServerDelegate is:
JMImplementation:type=MBeanServerDelegate
.
Constructor Summary |
Creates an MBeanServerNotification object specifying object names of
the MBeans that caused the notification and the specified notification type.
|
Method Summary |
ObjectName |
Returns the object name of the MBean that caused the notification.
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REGISTRATION_NOTIFICATION
public static final String REGISTRATION_NOTIFICATION
-
Notification type denoting that an MBean has been registered. Value is "JMX.mbean.registered".
UNREGISTRATION_NOTIFICATION
public static final String UNREGISTRATION_NOTIFICATION
-
Notification type denoting that an MBean has been unregistered. Value is "JMX.mbean.unregistered".
MBeanServerNotification
public MBeanServerNotification(String type,
Object source,
long sequenceNumber,
ObjectName objectName)
-
Creates an MBeanServerNotification object specifying object names of
the MBeans that caused the notification and the specified notification type.
- Parameters:
type
- A string denoting the type of the
notification. Set it to one these values: {@link
#REGISTRATION_NOTIFICATION}, {@link
#UNREGISTRATION_NOTIFICATION}.
source
- The MBeanServerNotification object responsible
for forwarding MBean server notification.
sequenceNumber
- A sequence number that can be used to order
received notifications.
objectName
- The object name of the MBean that caused the notification.
getMBeanName
public ObjectName getMBeanName()
-
Returns the object name of the MBean that caused the notification.
- Returns:
- the object name of the MBean that caused the notification.
This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
This page displays the
Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
The official Sun™ documentation can be found here at
http://java.sun.com/javase/6/docs/api/.