Date: 2004-12-03T15:46:55
   Editor: AchimHuegen <[EMAIL PROTECTED]>
   Wiki: Jakarta HiveMind Wiki
   Page: JmxPreview
   URL: http://wiki.apache.org/jakarta-hivemind/JmxPreview

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -6,31 +6,31 @@
 I have a server up and running where you can get an idea of what the jmx code 
can do.
 There are two ways of accessing the server.
 
-1. Point your browser to : xx.xx.xx.xx:8090/jmx
+1. Point your browser to : http://80.66.6.180:8090
 This uses MX4J HttpAdaptor for rendering the management info, but I wouldn't 
recommend this because MX4J doesn't support tabular data, graphs or a 
hierarchical display of the mbeans.
 
 2. My favorite: Get Suns JDK 1.5 and start jconsole.
-Change to the advanced tab and enter ........ as address.
+Change to the advanced tab and enter 
service:jmx:rmi://80.66.6.180/jndi/rmi://80.66.6.180:8089/jmx as URL.
 
 JConsole displays the mbeans in a package like tree structure, supports graphs 
for numerical attributes but has some shortcomings concerning hyperlinks and 
multiline text attributes.
 
 = What you get =
-This description is for jconsole
+The following information assumes, that you are using JConsole.
 
 == Metadata ==
 You can explore all service points, configuration points and schemas defined 
in the hivemind descriptors. 
-Look for the mbeans of type 'servicePoint', 'configurationPoint' and guess it 
'schema'.
+Look for the mbeans of type 'servicePoint', 'configurationPoint' and 'schema'.
 
 This is similar to the information that is created by hivedoc with some bonus:
 For example a service point mbean of a service that uses BuilderFactory for 
creation contains the following data:
  * Service implementation class
  * Visibility
- * Names and values of all properties set during construction. The list 
contains autowired properties and marks them as autowired
+ * Names and values of all properties set during construction. The list 
contains autowired properties and marks them as autowired. 
  * The Constructor used 
  * parameter values of constructor call
 
 You can find the tabular data (e.g. properties values) by double clicking the 
bold attribute value.
-A mbean that uses both constructor parameters and properties can be found as 
test.management.BuilderFactoryTarget
+A mbean that uses both constructor parameters and properties can be found as 
test\management\BuilderFactoryManagementTest
 
 The metadata functionality is 'experimental'.
 
@@ -50,7 +50,18 @@
 Double click on the 'sum' attribute to get a graph of the sum over time.
 This is the corresponding service interface :
 
-{{{TODO
+{{{public interface Calculator
+{
+    public int getSum();
+    
+    public void add(int value);
+    
+    public void subtract(int value);
+    
+    public void multiply(int value);
+    
+    public void clear();
+}
 }}}
 
 == Performance interceptor ==
@@ -59,7 +70,7 @@
 The results are sent to a newly created mbean. For each service method it 
displays: number of calls,
 maximum, minimum, average and last execution duration.
 
-The mbean (test\management\service\Calculator\PerformanceMonitor) displays 
these values for the Calculator service.
+The mbean test\management\service\Calculator\PerformanceCollector displays 
these values for the Calculator service.
 So just execute some calculations and watch the statistical data changing. 
 Double clicking the attribute values displays a graph.
 
@@ -69,7 +80,7 @@
 Such a monitor can watch the attribute of another mbean (for example the 
average execution time of a service method) and 
 send notifications, if a treshold is crossed.
 
-The mbean (test\management\service\????) monitors the sum attribute of the 
calculator service.
+The mbean test\management\service\CalculatorSumMonitor monitors the sum 
attribute of the calculator service.
 
 = Implementation details =
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to