|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
javax.management.Notification
javax.management.MBeanServerNotification
public class MBeanServerNotification
A notification sent by the MBeanServer delegate when an MBean is registered or unregisterd.
NOTE: The values from the spec are wrong, the real values are REGISTRATION_NOTIFICATION = "JMX.mbean.registered" UNREGISTRATION_NOTIFICATION = "JMX.mbean.registered"
Revisions:
20020315 Adrian Brock:
20020711 Adrian Brock:
| Field Summary | |
|---|---|
static String |
REGISTRATION_NOTIFICATION
Notification type sent at MBean registration |
static String |
UNREGISTRATION_NOTIFICATION
Notification type sent at MBean registration |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
MBeanServerNotification(String type,
Object source,
long sequence,
ObjectName objectName)
Construct a new MBeanServer notification |
|
| Method Summary | |
|---|---|
ObjectName |
getMBeanName()
Get the object name of the mbean being (un)registered |
String |
toString()
|
| Methods inherited from class javax.management.Notification |
|---|
getMessage, getSequenceNumber, getSource, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String REGISTRATION_NOTIFICATION
public static final String UNREGISTRATION_NOTIFICATION
| Constructor Detail |
|---|
public MBeanServerNotification(String type,
Object source,
long sequence,
ObjectName objectName)
type - the type of notification to constructsource - the source of the notificationsequence - the sequence number of the notificationobjectName - the object name of the mbean being (un)registered| Method Detail |
|---|
public ObjectName getMBeanName()
public String toString()
toString in class Notification
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||