javax.management
Class MBeanNotificationInfo
java.lang.Object
|
+--javax.management.MBeanFeatureInfo
|
+--javax.management.MBeanNotificationInfo
- All Implemented Interfaces:
- java.lang.Cloneable, java.io.Serializable
- Direct Known Subclasses:
- ModelMBeanNotificationInfo
- public class MBeanNotificationInfo
- extends MBeanFeatureInfo
- implements java.io.Serializable, java.lang.Cloneable
Describes describes a notification emitted by an MBean.
- See Also:
- Serialized Form
Constructor Summary |
MBeanNotificationInfo(java.lang.String[] notifTypes,
java.lang.String name,
java.lang.String description)
Constructs an MBeanNotificationInfo object. |
Method Summary |
java.lang.Object |
clone()
Creates and returns a copy of this object. |
java.lang.String[] |
getNotifTypes()
Returns the notification type string of the notification (in dot notation). |
java.lang.String |
toString()
Returns a human readable version of the MBeanNotificationInfo instance |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MBeanNotificationInfo
public MBeanNotificationInfo(java.lang.String[] notifTypes,
java.lang.String name,
java.lang.String description)
- Constructs an
MBeanNotificationInfo
object.
- Parameters:
notifType
- The event type string (in dot notation).name
- The name of the Notification
class.description
- A human readable description of the data.
clone
public java.lang.Object clone()
- Creates and returns a copy of this object.
- Overrides:
clone
in class java.lang.Object
- Returns:
- A duplicate copy of this object is created
getNotifTypes
public java.lang.String[] getNotifTypes()
- Returns the notification type string of the notification (in dot notation).
- Returns:
- A String array of the notification types are returned
toString
public java.lang.String toString()
- Returns a human readable version of the MBeanNotificationInfo instance
- Overrides:
toString
in class MBeanFeatureInfo
- Returns:
- MBeanNotificationInfo of String type is returned
Copyright ©2003 XMOJO.org. All Rights Reserved.