Author: buildbot Date: Tue Sep 17 14:29:38 2013 New Revision: 878824 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 Tue Sep 17 14:29:38 2013 @@ -1 +1 @@ -1524060 +1524065 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 Tue Sep 17 14:29:38 2013 @@ -145,7 +145,7 @@ as described below.</p> <p>The <code>org.apache.sling.hc.samples</code> bundle provides OSGi configurations that demonstrate them.</p> <ul> <li><code>JmxAttributeHealthCheck</code> checks the value of a single JMX attribute and supports ranges like <em>between 12 and 42</em>. </li> -<li><code>ScriptableHealthCheck</code> evaluates an expression written in any scripting language that Sling supports, and provides bindings to access JMX attributes and OSGi bundles states. </li> +<li><code>ScriptableHealthCheck</code> evaluates an expression written in any scripting language that Sling supports, and provides bindings to access JMX attributes. </li> <li><code>CompositeHealthCheck</code> executes a set of <code>HealthCheck</code> selected by tags, useful for creating higher-level checks.</li> </ul> <p>And a few more Sling-specific ones are provided by the <code>org.apache.sling.hc.support</code> bundle:</p> @@ -180,13 +180,13 @@ checks that have a non-OK status.</p> <p><img src="sling-hc-plugin.jpg" style="max-width:700px" alt="Health Check Webconsole Plugin"/></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> 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> +service property <code>hc.mbean.name</code> service property set. All health check MBeans are registered in the +domain <code>org.apache.sling.healthcheck</code> with a type of <code>HealthCheck</code>.</p> <p>The MBean gives access to the <code>Result</code> and the log, as shown on the screenshot below. </p> <p>See the example configurations of the <code>org.apache.sling.hc.samples</code> for more details.</p> <p><img src="jconsole-hc.jpg" style="max-width:700px" alt="JConsole showing Sling Health Check MBeans"/></p> <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;"> - Rev. 1524059 by bdelacretaz on Tue, 17 Sep 2013 14:16:51 +0000 + Rev. 1524065 by bdelacretaz on Tue, 17 Sep 2013 14:29:29 +0000 </div> <div class="trademarkFooter"> Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project