| java.lang.Object java.util.EventObject javax.management.Notification
All known Subclasses: javax.management.remote.JMXConnectionNotification, javax.management.AttributeChangeNotification, javax.management.timer.TimerNotification, javax.management.MBeanServerNotification, javax.management.relation.RelationNotification, mx4j.monitor.MX4JMonitorNotification, javax.management.monitor.MonitorNotification, javax.management.timer.TimerAlarmClockNotification,
Field Summary | |
protected Object | source A duplicate for the existing data member in EventObject: this one is not transient and should hold only
ObjectNames (so they are Serializable and can be sent along the wire for remote notifications), and it's
protected and not private for a mistake in JMX 1.0, but for binary compatibility we leave it protected. |
Constructor Summary | |
public | Notification(String type, Object source, long sequenceNumber) | public | Notification(String type, Object source, long sequenceNumber, long timeStamp) | public | Notification(String type, Object source, long sequenceNumber, String message) | public | Notification(String type, Object source, long sequenceNumber, long timeStamp, String message) |
source | protected Object source(Code) | | A duplicate for the existing data member in EventObject: this one is not transient and should hold only
ObjectNames (so they are Serializable and can be sent along the wire for remote notifications), and it's
protected and not private for a mistake in JMX 1.0, but for binary compatibility we leave it protected.
|
Notification | public Notification(String type, Object source, long sequenceNumber)(Code) | | Convenience constructor for Notification(type, source, sequenceNumber, System.currentTimeMillis(), null)
See Also: Notification.Notification(String,Object,long,long,String) |
Notification | public Notification(String type, Object source, long sequenceNumber, long timeStamp)(Code) | | Convenience constructor for Notification(type, source, sequenceNumber, timestamp, null)
See Also: Notification.Notification(String,Object,long,long,String) |
Notification | public Notification(String type, Object source, long sequenceNumber, String message)(Code) | | Convenience constructor for Notification(type, source, sequenceNumber, System.currentTimeMillis(), message)
See Also: Notification.Notification(String,Object,long,long,String) |
Notification | public Notification(String type, Object source, long sequenceNumber, long timeStamp, String message)(Code) | | Creates a new Notification
Parameters: type - The notification type Parameters: source - The ObjectName of the emitter MBean Parameters: sequenceNumber - The Notification sequence number Parameters: timeStamp - The notification timestamp Parameters: message - The Notification message |
getMessage | public String getMessage()(Code) | | Returns the notification message
|
getType | public String getType()(Code) | | Returns the notification type
|
|
|