Java Doc for MonitorNotification.java in  » EJB-Server-JBoss-4.2.1 » jmx » javax » management » monitor » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » EJB Server JBoss 4.2.1 » jmx » javax.management.monitor 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.util.EventObject
      javax.management.Notification
         javax.management.monitor.MonitorNotification

MonitorNotification
public class MonitorNotification extends Notification (Code)
A notification from one of the monitor services.

The notification occurs only when the state is first entered.

All monitor services produce the following notifications.

The counter monitor produces the following notifications. The gauge monitor produces the following notifications. The string monitor produces the following notifications.
author:
   Adrian Brock
version:
   $Revision: 57200 $
version:
  

Revisions:
version:
  

20020816 Adrian Brock:
version:
  


    version:
      
  • Serialization

  • version:
      


Field Summary
final public static  StringOBSERVED_ATTRIBUTE_ERROR
     Notification type when an MBean doesn't contain the specified attribute.
final public static  StringOBSERVED_ATTRIBUTE_TYPE_ERROR
     Notification type when an attribute is null or the attribute has an incorrect type for the monitor service.
final public static  StringOBSERVED_OBJECT_ERROR
     Notification type when an MBean is not registered.
final public static  StringRUNTIME_ERROR
     Notification type for any other error.
final public static  StringSTRING_TO_COMPARE_VALUE_DIFFERED
     Notification type when an attribute no longer matches the specified value of a StringMonitor.
final public static  StringSTRING_TO_COMPARE_VALUE_MATCHED
     Notification type when an attribute changes to match the specified value of a StringMonitor.
final public static  StringTHRESHOLD_ERROR
     Notification type when an attribute's threshold parameters (threshold, low threshold, high threshold, offset or modules) are not of the correct type.
final public static  StringTHRESHOLD_HIGH_VALUE_EXCEEDED
     Notification type when a guage attribute changes to exceed the specified threshold high value.
final public static  StringTHRESHOLD_LOW_VALUE_EXCEEDED
     Notification type when a gauge attribute changes to exceed the specified threshold low value.
final public static  StringTHRESHOLD_VALUE_EXCEEDED
     Notification type when a counter attribute changes to exceed the specified threshold value.

Constructor Summary
 MonitorNotification(String type, Object source, long sequenceNumber, long timeStamp, String message, Object derivedGauge, String observedAttribute, ObjectName observedObject, Object trigger)
     Construct a new monitor notification.

Method Summary
public  ObjectgetDerivedGauge()
     Retrieves the derived gauge.
public  StringgetObservedAttribute()
     Retrieves the name of the attribute monitored.
public  ObjectNamegetObservedObject()
     Retrieves the name of the MBean monitored.
public  ObjectgetTrigger()
     Retrieves the trigger value of the notification.
public  StringtoString()
    

Field Detail
OBSERVED_ATTRIBUTE_ERROR
final public static String OBSERVED_ATTRIBUTE_ERROR(Code)
Notification type when an MBean doesn't contain the specified attribute. The observed object name and observed attribute name are sent in the notification.



OBSERVED_ATTRIBUTE_TYPE_ERROR
final public static String OBSERVED_ATTRIBUTE_TYPE_ERROR(Code)
Notification type when an attribute is null or the attribute has an incorrect type for the monitor service. The observed object name and observed attribute name are sent in the notification.



OBSERVED_OBJECT_ERROR
final public static String OBSERVED_OBJECT_ERROR(Code)
Notification type when an MBean is not registered. The observed object name is sent in the notification.



RUNTIME_ERROR
final public static String RUNTIME_ERROR(Code)
Notification type for any other error.



STRING_TO_COMPARE_VALUE_DIFFERED
final public static String STRING_TO_COMPARE_VALUE_DIFFERED(Code)
Notification type when an attribute no longer matches the specified value of a StringMonitor. The observed object name, observed attribute name, derived gauge (actual value) and trigger (monitor value) are sent in the notification. REVIEW: Verify this.



STRING_TO_COMPARE_VALUE_MATCHED
final public static String STRING_TO_COMPARE_VALUE_MATCHED(Code)
Notification type when an attribute changes to match the specified value of a StringMonitor. The observed object name, observed attribute name, derived gauge (actual value) and trigger (monitor value) are sent in the notification. REVIEW: Verify this.



THRESHOLD_ERROR
final public static String THRESHOLD_ERROR(Code)
Notification type when an attribute's threshold parameters (threshold, low threshold, high threshold, offset or modules) are not of the correct type. The observed object name and observed attribute are sent in the notification. REVIEW: Verify this.



THRESHOLD_HIGH_VALUE_EXCEEDED
final public static String THRESHOLD_HIGH_VALUE_EXCEEDED(Code)
Notification type when a guage attribute changes to exceed the specified threshold high value. The observed object name, observed attribute name, derived gauge (actual value) and trigger (threshold value) are sent in the notification. REVIEW: Verify this.



THRESHOLD_LOW_VALUE_EXCEEDED
final public static String THRESHOLD_LOW_VALUE_EXCEEDED(Code)
Notification type when a gauge attribute changes to exceed the specified threshold low value. The observed object name, observed attribute name, derived gauge (actual value) and trigger (threshold value) are sent in the notification. REVIEW: Verify this.



THRESHOLD_VALUE_EXCEEDED
final public static String THRESHOLD_VALUE_EXCEEDED(Code)
Notification type when a counter attribute changes to exceed the specified threshold value. The observed object name, observed attribute name, derived gauge (actual value) and trigger (threshold value) are sent in the notification. REVIEW: Verify this.




Constructor Detail
MonitorNotification
MonitorNotification(String type, Object source, long sequenceNumber, long timeStamp, String message, Object derivedGauge, String observedAttribute, ObjectName observedObject, Object trigger)(Code)
Construct a new monitor notification.
Parameters:
  type - the notification type.
Parameters:
  source - the notification source.
Parameters:
  sequenceNumber - the notification sequence within the source object.
Parameters:
  timeStamp - the time the notification was sent.
Parameters:
  message - the detailed message.
Parameters:
  derivedGauge - the actual value.
Parameters:
  observedAttribute - the monitored attribute.
Parameters:
  observedObject - the monitored MBean.
Parameters:
  trigger - the value monitor value.




Method Detail
getDerivedGauge
public Object getDerivedGauge()(Code)
Retrieves the derived gauge. See each monitor service for the definition of this value. the derived gauge.



getObservedAttribute
public String getObservedAttribute()(Code)
Retrieves the name of the attribute monitored. the name of the monitored attribute.



getObservedObject
public ObjectName getObservedObject()(Code)
Retrieves the name of the MBean monitored. the registered object name.



getTrigger
public Object getTrigger()(Code)
Retrieves the trigger value of the notification. See each monitor service for the values that trigger notifications. the trigger.



toString
public String toString()(Code)
human readable string.



Methods inherited from javax.management.Notification
public String getMessage()(Code)(Java Doc)
public long getSequenceNumber()(Code)(Java Doc)
public Object getSource()(Code)(Java Doc)
public long getTimeStamp()(Code)(Java Doc)
public String getType()(Code)(Java Doc)
public Object getUserData()(Code)(Java Doc)
public void setSequenceNumber(long sequenceNumber)(Code)(Java Doc)
public void setSource(Object source)(Code)(Java Doc)
public void setTimeStamp(long timeStamp)(Code)(Java Doc)
public void setUserData(Object userData)(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Fields inherited from java.util.EventObject
protected transient Object source(Code)(Java Doc)

Methods inherited from java.util.EventObject
public Object getSource()(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.