Author: buildbot
Date: Mon Aug 19 10:51:31 2013
New Revision: 875283
Log:
Staging update by buildbot for sling
Modified:
websites/staging/sling/trunk/content/ (props changed)
websites/staging/sling/trunk/content/documentation/bundles/sling-health-check-tool.html
Propchange: websites/staging/sling/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Aug 19 10:51:31 2013
@@ -1 +1 @@
-1514220
+1515353
Modified:
websites/staging/sling/trunk/content/documentation/bundles/sling-health-check-tool.html
==============================================================================
---
websites/staging/sling/trunk/content/documentation/bundles/sling-health-check-tool.html
(original)
+++
websites/staging/sling/trunk/content/documentation/bundles/sling-health-check-tool.html
Mon Aug 19 10:51:31 2013
@@ -100,12 +100,6 @@ supplying MBeans that expose the require
<span class="o">*</span> <span class="n">systems</span><span
class="p">,</span> <span class="k">for</span> <span
class="n">example</span><span class="p">,</span> <span class="n">should</span>
<span class="n">be</span> <span class="n">managed</span> <span
class="n">asynchronously</span><span class="p">.</span>
<span class="o">*/</span>
<span class="n">public</span> <span class="n">Result</span> <span
class="n">execute</span><span class="p">();</span>
-
- <span class="o">/**</span> <span class="n">Additional</span> <span
class="p">(</span><span class="n">static</span><span class="p">)</span> <span
class="n">information</span> <span class="n">about</span>
- <span class="o">*</span> <span class="n">this</span> <span
class="n">check</span><span class="p">.</span> <span class="p">{@</span><span
class="n">link</span> <span class="n">Constants</span><span class="p">}</span>
<span class="n">defines</span>
- <span class="o">*</span> <span class="n">some</span> <span
class="n">well</span><span class="o">-</span><span class="n">known</span> <span
class="n">property</span> <span class="n">names</span><span class="p">.</span>
- <span class="o">*/</span>
- <span class="n">public</span> <span class="n">Map</span><span
class="o"><</span><span class="n">String</span><span class="p">,</span>
<span class="n">String</span><span class="o">></span> <span
class="n">getInfo</span><span class="p">();</span>
<span class="p">}</span>
</pre></div>
@@ -162,16 +156,12 @@ checks that have a non-OK status.</p>
<p>The screenshot below shows an example, as of svn revision 1513462.</p>
<p><img alt="" src="sling-hc-plugin.jpg" /></p>
<h2 id="jmx-access-to-health-checks">JMX access to health checks</h2>
-<p>If the <code>org.apache.sling.hc.jmx</code> bundle is active, a JMX MBean
is created for each <code>HealthCheck</code>.</p>
+<p>If the <code>org.apache.sling.hc.jmx</code> bundle is active, a JMX MBean
is created for each <code>HealthCheck</code> which has the service property
'hc.mbean.name' service property set. All health check MBeans are registered in
the domain 'org.apache.sling.healthcheck' with a type of 'HealthCheck'</p>
<p>The MBean gives access to the <code>Result</code> and the log, as shown on
the screenshot below. </p>
-<p>The MBean name defaults to the <code>hc.name</code> service property of the
<em><code>HealthCheck</code></em>, but if an
-<code>hc.mbean.name</code> property is provided it is used instead. That
property can include a a slash
-(like <code>CompositeHealthCheck/script</code> in the screenshot) to define
the MBean service name,
-which by default is <em>HealthCheck</em>.</p>
<p>See the example configurations of the
<code>org.apache.sling.hc.samples</code> for more details.</p>
<p><img alt="" src="jconsole-hc.jpg" /></p>
<div class="timestamp" style="margin-top: 30px; font-size: 80%;
text-align: right;">
- Rev. 1513486 by bdelacretaz on Tue, 13 Aug 2013 13:44:42 +0000
+ Rev. 1515353 by cziegeler on Mon, 19 Aug 2013 10:51:20 +0000
</div>
<div class="trademarkFooter">
Apache Sling, Sling, Apache, the Apache feather logo, and the Apache
Sling project