com.adventnet.services.monitor
Class TableMonitorNotification

java.lang.Object
  extended by java.util.EventObject
      extended by javax.management.Notification
          extended by com.adventnet.services.monitor.TableMonitorNotification
All Implemented Interfaces:
java.io.Serializable

public class TableMonitorNotification
extends javax.management.Notification

This class defines the Table Monitor Notifications sent by the MBeans

See Also:
Serialized Form

Field Summary
static java.lang.String THRESHOLD_CROSSED
           
 
Fields inherited from class javax.management.Notification
source
 
Constructor Summary
TableMonitorNotification(java.lang.String type, java.lang.Object source, javax.management.ObjectName objectName, java.lang.String attributeName, java.lang.String columnName, java.lang.Object userData, long sequenceNumber)
          Creates a TableMonitorNotification object
 
Method Summary
 java.lang.String getObservedAttribute()
          Gets the observed attribute of this monitor notification.
 java.lang.String getObservedColumnName()
          Returns the observed Column name
 javax.management.ObjectName getObservedObject()
          Gets the observed object of this monitor notification.
 java.lang.Object getUserData()
          Gets the threshold/string (depending on the monitor type) that triggered off this monitor notification.
 
Methods inherited from class javax.management.Notification
getMessage, getSequenceNumber, getTimeStamp, getType, setSequenceNumber, setSource, setTimeStamp, setUserData, toString
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

THRESHOLD_CROSSED

public static java.lang.String THRESHOLD_CROSSED
Constructor Detail

TableMonitorNotification

public TableMonitorNotification(java.lang.String type,
                                java.lang.Object source,
                                javax.management.ObjectName objectName,
                                java.lang.String attributeName,
                                java.lang.String columnName,
                                java.lang.Object userData,
                                long sequenceNumber)
Creates a TableMonitorNotification object

Parameters:
type - The type of the observed Attribute
source - The Notification Producer
objectName - The objectName of the MBean the observed attribute belongs to
attributeName - The name of the observed attribute
columnName - The column name of the observed attribute
userData - The user data object
sequenceNumber - The sequence number
Method Detail

getObservedObject

public javax.management.ObjectName getObservedObject()
Gets the observed object of this monitor notification.

Returns:
- The Observed Object.

getObservedAttribute

public java.lang.String getObservedAttribute()
Gets the observed attribute of this monitor notification.

Returns:
- The Observed Attribute.

getUserData

public java.lang.Object getUserData()
Gets the threshold/string (depending on the monitor type) that triggered off this monitor notification.

Overrides:
getUserData in class javax.management.Notification
Returns:
- The trigger value.

getObservedColumnName

public java.lang.String getObservedColumnName()
Returns the observed Column name